Class ValueSettingsPacket
java.lang.Object
com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket<SmartBlockEntity>
com.simibubi.create.foundation.blockEntity.behaviour.ValueSettingsPacket
- All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload,net.createmod.catnip.net.base.ServerboundPacketPayload,net.minecraft.network.protocol.common.custom.CustomPacketPayload
-
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
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf, ValueSettingsPacket> Fields inherited from class com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket
pos -
Constructor Summary
ConstructorsConstructorDescriptionValueSettingsPacket(net.minecraft.core.BlockPos pos, int row, int value, @Nullable net.minecraft.world.InteractionHand interactHand, @Nullable net.minecraft.world.phys.BlockHitResult hitResult, net.minecraft.core.Direction side, boolean ctrlDown, int behaviourIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplySettings(net.minecraft.server.level.ServerPlayer player, SmartBlockEntity be) net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProviderMethods inherited from class com.simibubi.create.foundation.networking.BlockEntityConfigurationPacket
causeUpdate, handle, maxRangeMethods 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
typeMethods 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,ValueSettingsPacket> STREAM_CODEC
-
-
Constructor Details
-
ValueSettingsPacket
public ValueSettingsPacket(net.minecraft.core.BlockPos pos, int row, int value, @Nullable @Nullable net.minecraft.world.InteractionHand interactHand, @Nullable @Nullable net.minecraft.world.phys.BlockHitResult hitResult, net.minecraft.core.Direction side, boolean ctrlDown, int behaviourIndex)
-
-
Method Details
-
applySettings
- Specified by:
applySettingsin classBlockEntityConfigurationPacket<SmartBlockEntity>
-
getTypeProvider
public net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider getTypeProvider()
-