Class RocketDestinationPacket

java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.lightning.northstar.contraption.rocket.packet.RocketDestinationPacket

public class RocketDestinationPacket extends com.simibubi.create.foundation.networking.SimplePacketBase
  • Field Details

    • entityId

      public final int entityId
    • destination

      public final RocketDestination destination
  • Constructor Details

    • RocketDestinationPacket

      public RocketDestinationPacket(int entityId, RocketDestination destination)
    • RocketDestinationPacket

      public RocketDestinationPacket(net.minecraft.network.FriendlyByteBuf buffer)
  • Method Details

    • write

      public void write(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      write in class com.simibubi.create.foundation.networking.SimplePacketBase
    • handle

      public boolean handle(net.minecraftforge.network.NetworkEvent.Context context)
      Specified by:
      handle in class com.simibubi.create.foundation.networking.SimplePacketBase