Class ServerboundPlaceRecipePacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundPlaceRecipePacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundPlaceRecipePacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final ResourceLocationprivate final boolean
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundPlaceRecipePacket(int p_134240_, RecipeHolder<?> p_300889_, boolean p_134242_) ServerboundPlaceRecipePacket(FriendlyByteBuf p_179706_) 
- 
Method SummaryModifier and TypeMethodDescriptionintvoidhandle(ServerGamePacketListener p_134248_) booleanvoidwrite(FriendlyByteBuf p_134251_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
containerIdprivate final int containerId
- 
recipe
- 
shiftDownprivate final boolean shiftDown
 
- 
- 
Constructor Details- 
ServerboundPlaceRecipePacket
- 
ServerboundPlaceRecipePacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getContainerIdpublic int getContainerId()
- 
getRecipe
- 
isShiftDownpublic boolean isShiftDown()
 
-