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
ConstructorsConstructorDescriptionShapedCraftingRecipeDisplay(int width, int height, List<SlotDisplay<?>> ingredients, SlotDisplay<?> result, SlotDisplay<?> craftingStation) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSlotDisplay<?> intList<SlotDisplay<?>> SlotDisplay<?> intgetWidth()inthashCode()static ShapedCraftingRecipeDisplayread(PacketWrapper<?> wrapper) voidsetCraftingStation(SlotDisplay<?> craftingStation) voidsetHeight(int height) voidsetIngredients(List<SlotDisplay<?>> ingredients) voidsetResult(SlotDisplay<?> result) voidsetWidth(int width) toString()static voidwrite(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
-