Class PotatoCannonPacket
java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.simibubi.create.content.curiosities.zapper.ShootGadgetPacket
com.simibubi.create.content.curiosities.weapons.PotatoCannonPacket
-
Field Summary
Fields inherited from class com.simibubi.create.content.curiosities.zapper.ShootGadgetPacket
hand, location, self -
Constructor Summary
ConstructorsConstructorDescriptionPotatoCannonPacket(net.minecraft.network.FriendlyByteBuf buffer) PotatoCannonPacket(net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand, float pitch, boolean self) -
Method Summary
Modifier and TypeMethodDescriptionprotected ShootableGadgetRenderHandlerprotected voidprotected voidreadAdditional(net.minecraft.network.FriendlyByteBuf buffer) protected voidwriteAdditional(net.minecraft.network.FriendlyByteBuf buffer) Methods inherited from class com.simibubi.create.content.curiosities.zapper.ShootGadgetPacket
handle, write
-
Constructor Details
-
PotatoCannonPacket
public PotatoCannonPacket(net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack item, net.minecraft.world.InteractionHand hand, float pitch, boolean self) -
PotatoCannonPacket
public PotatoCannonPacket(net.minecraft.network.FriendlyByteBuf buffer)
-
-
Method Details
-
readAdditional
protected void readAdditional(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
readAdditionalin classShootGadgetPacket
-
writeAdditional
protected void writeAdditional(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writeAdditionalin classShootGadgetPacket
-
handleAdditional
protected void handleAdditional()- Specified by:
handleAdditionalin classShootGadgetPacket
-
getHandler
- Specified by:
getHandlerin classShootGadgetPacket
-