Botcraft
1.21.4
Loading...
Searching...
No Matches
ShapedCraftingRecipeDisplay.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 767
/* > 1.21.1 */
2
#pragma once
3
4
#include "
protocolCraft/Types/Recipes/RecipeDisplayData.hpp
"
5
#include "
protocolCraft/Types/Recipes/SlotDisplay.hpp
"
6
7
#include <vector>
8
9
namespace
ProtocolCraft
10
{
11
class
ShapedCraftingRecipeDisplay
:
public
RecipeDisplayData
12
{
13
SERIALIZED_FIELD
(Width,
VarInt
);
14
SERIALIZED_FIELD
(Height,
VarInt
);
15
SERIALIZED_FIELD
(Ingredients, std::vector<SlotDisplay>);
16
SERIALIZED_FIELD
(Result,
SlotDisplay
);
17
SERIALIZED_FIELD
(CraftingStation,
SlotDisplay
);
18
19
DECLARE_READ_WRITE_SERIALIZE
;
20
};
21
}
22
#endif
RecipeDisplayData.hpp
SlotDisplay.hpp
ProtocolCraft::RecipeDisplayData
Definition
RecipeDisplayData.hpp:9
ProtocolCraft::ShapedCraftingRecipeDisplay
Definition
ShapedCraftingRecipeDisplay.hpp:12
ProtocolCraft::ShapedCraftingRecipeDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(CraftingStation, SlotDisplay)
ProtocolCraft::ShapedCraftingRecipeDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(Height, VarInt)
ProtocolCraft::ShapedCraftingRecipeDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(Width, VarInt)
ProtocolCraft::ShapedCraftingRecipeDisplay::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ShapedCraftingRecipeDisplay.hpp:19
ProtocolCraft::ShapedCraftingRecipeDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(Result, SlotDisplay)
ProtocolCraft::ShapedCraftingRecipeDisplay::SERIALIZED_FIELD
SERIALIZED_FIELD(Ingredients, std::vector< SlotDisplay >)
ProtocolCraft::SlotDisplay
Definition
SlotDisplay.hpp:27
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Types
Recipes
ShapedCraftingRecipeDisplay.hpp
Generated by
1.9.8