Class TelescopePrintPacket

java.lang.Object
com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket<TelescopeBlockEntity>
com.lightning.northstar.block.tech.telescope.TelescopePrintPacket
All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload, net.createmod.catnip.net.base.ServerboundPacketPayload, net.minecraft.network.protocol.common.custom.CustomPacketPayload

public class TelescopePrintPacket extends com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket<TelescopeBlockEntity>
  • 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,TelescopePrintPacket>
     

    Fields inherited from class com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket

    pos
  • Constructor Summary

    Constructors
    Constructor
    Description
    TelescopePrintPacket(net.minecraft.core.BlockPos pos, String planetName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    applySettings(net.minecraft.server.level.ServerPlayer player, TelescopeBlockEntity be)
     
    net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider
     

    Methods inherited from class com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket

    causeUpdate, handle, maxRange

    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.minecraft.network.protocol.common.custom.CustomPacketPayload

    toVanillaClientbound, toVanillaServerbound
  • Field Details

    • STREAM_CODEC

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

    • TelescopePrintPacket

      public TelescopePrintPacket(net.minecraft.core.BlockPos pos, String planetName)
  • Method Details

    • applySettings

      protected void applySettings(net.minecraft.server.level.ServerPlayer player, TelescopeBlockEntity be)
      Specified by:
      applySettings in class com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket<TelescopeBlockEntity>
    • getTypeProvider

      public net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider getTypeProvider()