Class ShapedCraftingRecipeDisplay
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay<ShapedCraftingRecipeDisplay>
com.github.retrooper.packetevents.protocol.recipe.display.ShapedCraftingRecipeDisplay
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay
type
-
Constructor Summary
ConstructorDescriptionShapedCraftingRecipeDisplay
(int width, int height, List<SlotDisplay<?>> ingredients, SlotDisplay<?> result, SlotDisplay<?> craftingStation) -
Method Summary
Modifier and TypeMethodDescriptionboolean
SlotDisplay
<?> int
List
<SlotDisplay<?>> SlotDisplay
<?> int
getWidth()
int
hashCode()
static ShapedCraftingRecipeDisplay
read
(PacketWrapper<?> wrapper) void
setCraftingStation
(SlotDisplay<?> craftingStation) void
setHeight
(int height) void
setIngredients
(List<SlotDisplay<?>> ingredients) void
setResult
(SlotDisplay<?> result) void
setWidth
(int width) toString()
static void
write
(PacketWrapper<?> wrapper, ShapedCraftingRecipeDisplay display) Methods inherited from class com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay
getType, write
-
Constructor Details
-
ShapedCraftingRecipeDisplay
public ShapedCraftingRecipeDisplay(int width, int height, List<SlotDisplay<?>> ingredients, SlotDisplay<?> result, SlotDisplay<?> craftingStation)
-
-
Method Details
-
read
-
write
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getIngredients
-
setIngredients
-
getResult
-
setResult
-
getCraftingStation
-
setCraftingStation
-
equals
-
hashCode
public int hashCode() -
toString
-