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.PacketTypeProviderNested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidapplySettings(net.minecraft.server.level.ServerPlayer player, BE be) protected booleanvoidhandle(net.minecraft.server.level.ServerPlayer player) protected intmaxRange()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.createmod.catnip.net.base.BasePacketPayload
getTypeProvider, typeMethods 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:
handlein interfacenet.createmod.catnip.net.base.ServerboundPacketPayload
-
maxRange
protected int maxRange() -
causeUpdate
protected boolean causeUpdate() -
applySettings
-