Class CPlaceRecipePacket
java.lang.Object
net.minecraft.network.play.client.CPlaceRecipePacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCPlaceRecipePacket(int p_i47614_1_, IRecipe<?> p_i47614_2_, boolean p_i47614_3_) -
Method Summary
Modifier and TypeMethodDescriptionintvoidhandle(IServerPlayNetHandler p_148833_1_) booleanvoidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
containerId
private int containerId -
recipe
-
shiftDown
private boolean shiftDown
-
-
Constructor Details
-
CPlaceRecipePacket
public CPlaceRecipePacket() -
CPlaceRecipePacket
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IServerPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IServerPlayNetHandler>
-
getContainerId
public int getContainerId() -
getRecipe
-
isShiftDown
public boolean isShiftDown()
-