Class FurnaceRecipeDisplay
java.lang.Object
com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay<FurnaceRecipeDisplay>
com.github.retrooper.packetevents.protocol.recipe.display.FurnaceRecipeDisplay
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay
type
-
Constructor Summary
ConstructorDescriptionFurnaceRecipeDisplay
(SlotDisplay<?> ingredient, SlotDisplay<?> fuel, SlotDisplay<?> result, SlotDisplay<?> craftingStation, int duration, float experience) -
Method Summary
Modifier and TypeMethodDescriptionboolean
SlotDisplay
<?> int
float
SlotDisplay
<?> getFuel()
SlotDisplay
<?> SlotDisplay
<?> int
hashCode()
static FurnaceRecipeDisplay
read
(PacketWrapper<?> wrapper) void
setCraftingStation
(SlotDisplay<?> craftingStation) void
setDuration
(int duration) void
setExperience
(float experience) void
setFuel
(SlotDisplay<?> fuel) void
setIngredient
(SlotDisplay<?> ingredient) void
setResult
(SlotDisplay<?> result) toString()
static void
write
(PacketWrapper<?> wrapper, FurnaceRecipeDisplay display) Methods inherited from class com.github.retrooper.packetevents.protocol.recipe.display.RecipeDisplay
getType, write
-
Constructor Details
-
FurnaceRecipeDisplay
public FurnaceRecipeDisplay(SlotDisplay<?> ingredient, SlotDisplay<?> fuel, SlotDisplay<?> result, SlotDisplay<?> craftingStation, int duration, float experience)
-
-
Method Details
-
read
-
write
-
getIngredient
-
setIngredient
-
getFuel
-
setFuel
-
getResult
-
setResult
-
getCraftingStation
-
setCraftingStation
-
getDuration
public int getDuration() -
setDuration
public void setDuration(int duration) -
getExperience
public float getExperience() -
setExperience
public void setExperience(float experience) -
equals
-
hashCode
public int hashCode() -
toString
-