Class BlockEntityConfigurationPacket<BE extends SyncedBlockEntity>

java.lang.Object
com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket<BE>
All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload, net.createmod.catnip.net.base.ServerboundPacketPayload, net.minecraft.network.protocol.common.custom.CustomPacketPayload
Direct Known Subclasses:
ChainConveyorConnectionPacket, ChainPackageInteractionPacket, ConfigureSequencedGearshiftPacket, ConfigureThresholdSwitchPacket, CurvedTrackDestroyPacket, CurvedTrackSelectionPacket, DisplayLinkConfigurationPacket, EjectorAwardPacket, EjectorTriggerPacket, ElevatorContactEditPacket, FactoryPanelConfigurationPacket, FactoryPanelConnectionPacket, GaugeObservedPacket, LogisticalStockRequestPacket, PackageOrderRequestPacket, PackagePortConfigurationPacket, RedstoneRequesterConfigurationPacket, ServerboundChainConveyorRidingPacket, StationEditPacket, StockKeeperCategoryEditPacket, StockKeeperCategoryHidingPacket, StockKeeperCategoryRefundPacket, StockKeeperLockPacket, ValueSettingsPacket

public abstract class BlockEntityConfigurationPacket<BE extends SyncedBlockEntity> extends Object implements net.createmod.catnip.net.base.ServerboundPacketPayload
  • 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
    protected final net.minecraft.core.BlockPos
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    BlockEntityConfigurationPacket(net.minecraft.core.BlockPos pos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract void
    applySettings(net.minecraft.server.level.ServerPlayer player, BE be)
     
    protected boolean
     
    void
    handle(net.minecraft.server.level.ServerPlayer player)
     
    protected int
     

    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

    getTypeProvider, type

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

    toVanillaClientbound, toVanillaServerbound
  • Field Details

    • pos

      protected final net.minecraft.core.BlockPos pos
  • Constructor Details

    • BlockEntityConfigurationPacket

      public BlockEntityConfigurationPacket(net.minecraft.core.BlockPos pos)
  • Method Details

    • handle

      public void handle(net.minecraft.server.level.ServerPlayer player)
      Specified by:
      handle in interface net.createmod.catnip.net.base.ServerboundPacketPayload
    • maxRange

      protected int maxRange()
    • causeUpdate

      protected boolean causeUpdate()
    • applySettings

      protected abstract void applySettings(net.minecraft.server.level.ServerPlayer player, BE be)