Class ConfigureZapperPacket
java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.simibubi.create.content.curiosities.zapper.ConfigureZapperPacket
- Direct Known Subclasses:
ConfigureWorldshaperPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.world.InteractionHandprotected PlacementPatterns -
Constructor Summary
ConstructorsConstructorDescriptionConfigureZapperPacket(net.minecraft.network.FriendlyByteBuf buffer) ConfigureZapperPacket(net.minecraft.world.InteractionHand hand, PlacementPatterns pattern) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidconfigureZapper(net.minecraft.world.item.ItemStack stack) voidvoidwrite(net.minecraft.network.FriendlyByteBuf buffer)
-
Field Details
-
hand
protected net.minecraft.world.InteractionHand hand -
pattern
-
-
Constructor Details
-
ConfigureZapperPacket
-
ConfigureZapperPacket
public ConfigureZapperPacket(net.minecraft.network.FriendlyByteBuf buffer)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writein classSimplePacketBase
-
handle
- Specified by:
handlein classSimplePacketBase
-
configureZapper
public abstract void configureZapper(net.minecraft.world.item.ItemStack stack)
-