Class TelescopePrintPacket

java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.lightning.northstar.block.tech.telescope.TelescopePrintPacket

@ParametersAreNonnullByDefault public class TelescopePrintPacket extends com.simibubi.create.foundation.networking.SimplePacketBase
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.resources.ResourceLocation
     
    final net.minecraft.core.BlockPos
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TelescopePrintPacket(net.minecraft.core.BlockPos pos, net.minecraft.resources.ResourceLocation planetId)
     
    TelescopePrintPacket(net.minecraft.network.FriendlyByteBuf buffer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(net.minecraftforge.network.NetworkEvent.Context context)
     
    void
    write(net.minecraft.network.FriendlyByteBuf buffer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • pos

      public final net.minecraft.core.BlockPos pos
    • planetId

      public final net.minecraft.resources.ResourceLocation planetId
  • Constructor Details

    • TelescopePrintPacket

      public TelescopePrintPacket(net.minecraft.network.FriendlyByteBuf buffer)
    • TelescopePrintPacket

      public TelescopePrintPacket(net.minecraft.core.BlockPos pos, net.minecraft.resources.ResourceLocation planetId)
  • 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