public class CraftingDataPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
CraftingDataPacket() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
CraftingDataPacket |
clone()
Creates a new instance of this packet using Object.clone()
Will throw a
UnsupportedOperationException if the packet implements ReferenceCounted |
boolean |
equals(java.lang.Object o) |
java.util.List<ContainerMixData> |
getContainerMixData() |
java.util.List<RecipeData> |
getCraftingData() |
java.util.List<MaterialReducer> |
getMaterialReducers() |
BedrockPacketType |
getPacketType() |
java.util.List<PotionMixData> |
getPotionMixData() |
org.cloudburstmc.protocol.common.PacketSignal |
handle(BedrockPacketHandler handler) |
int |
hashCode() |
boolean |
isCleanRecipes() |
void |
setCleanRecipes(boolean cleanRecipes) |
java.lang.String |
toString() |
public final org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic CraftingDataPacket clone()
BedrockPacketUnsupportedOperationException if the packet implements ReferenceCountedclone in interface BedrockPacketclone in class java.lang.Objectpublic java.util.List<RecipeData> getCraftingData()
public java.util.List<PotionMixData> getPotionMixData()
public java.util.List<ContainerMixData> getContainerMixData()
public java.util.List<MaterialReducer> getMaterialReducers()
public boolean isCleanRecipes()
public void setCleanRecipes(boolean cleanRecipes)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object