Class PotatoCannonPacket
java.lang.Object
com.simibubi.create.content.equipment.zapper.ShootGadgetPacket
com.simibubi.create.content.equipment.potatoCannon.PotatoCannonPacket
- All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload,net.createmod.catnip.net.base.ClientboundPacketPayload,net.minecraft.network.protocol.common.custom.CustomPacketPayload
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.createmod.catnip.net.base.BasePacketPayload
net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProviderNested classes/interfaces inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
net.minecraft.network.protocol.common.custom.CustomPacketPayload.FallbackProvider<B extends net.minecraft.network.FriendlyByteBuf>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.Type<T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload>, net.minecraft.network.protocol.common.custom.CustomPacketPayload.TypeAndCodec<B extends net.minecraft.network.FriendlyByteBuf,T extends net.minecraft.network.protocol.common.custom.CustomPacketPayload> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, PotatoCannonPacket> Fields inherited from class com.simibubi.create.content.equipment.zapper.ShootGadgetPacket
hand, location, self -
Constructor Summary
ConstructorsConstructorDescriptionPotatoCannonPacket(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 ShootableGadgetRenderHandlernet.createmod.catnip.net.base.BasePacketPayload.PacketTypeProviderprotected voidMethods inherited from class com.simibubi.create.content.equipment.zapper.ShootGadgetPacket
handleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.createmod.catnip.net.base.BasePacketPayload
typeMethods inherited from interface net.createmod.catnip.net.base.ClientboundPacketPayload
handleInternalMethods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload
toVanillaClientbound, toVanillaServerbound
-
Field Details
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,PotatoCannonPacket> STREAM_CODEC
-
-
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)
-
-
Method Details
-
handleAdditional
protected void handleAdditional()- Specified by:
handleAdditionalin classShootGadgetPacket
-
getHandler
- Specified by:
getHandlerin classShootGadgetPacket
-
getTypeProvider
public net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider getTypeProvider()
-