Class ZapperBeamPacket

java.lang.Object
com.simibubi.create.content.equipment.zapper.ShootGadgetPacket
com.simibubi.create.content.equipment.zapper.ZapperBeamPacket
All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload, net.createmod.catnip.net.base.ClientboundPacketPayload, net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class ZapperBeamPacket extends ShootGadgetPacket
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.createmod.catnip.net.base.BasePacketPayload

    net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,ZapperBeamPacket>
     

    Fields inherited from class com.simibubi.create.content.equipment.zapper.ShootGadgetPacket

    hand, location, self
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZapperBeamPacket(net.minecraft.world.phys.Vec3 start, net.minecraft.world.InteractionHand hand, boolean self, net.minecraft.world.phys.Vec3 target)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider
     
    protected void
     

    Methods inherited from class com.simibubi.create.content.equipment.zapper.ShootGadgetPacket

    handle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.createmod.catnip.net.base.BasePacketPayload

    type

    Methods inherited from interface net.createmod.catnip.net.base.ClientboundPacketPayload

    handleInternal

    Methods inherited from interface net.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound
  • Field Details

    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,ZapperBeamPacket> STREAM_CODEC
  • Constructor Details

    • ZapperBeamPacket

      public ZapperBeamPacket(net.minecraft.world.phys.Vec3 start, net.minecraft.world.InteractionHand hand, boolean self, net.minecraft.world.phys.Vec3 target)
  • Method Details