Class ActorConfigPacket
java.lang.Object
com.lightning.northstar.contraption.ActorConfigPacket
- All Implemented Interfaces:
net.createmod.catnip.net.base.BasePacketPayload,net.createmod.catnip.net.base.ClientboundPacketPayload,net.minecraft.network.protocol.common.custom.CustomPacketPayload
public class ActorConfigPacket
extends Object
implements net.createmod.catnip.net.base.ClientboundPacketPayload
-
Nested Class Summary
Nested ClassesNested 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, ActorConfigPacket> -
Constructor Summary
ConstructorsConstructorDescriptionActorConfigPacket(int contraptionId, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt) -
Method Summary
Modifier and TypeMethodDescriptionnet.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvidervoidhandle(net.minecraft.client.player.LocalPlayer localPlayer) static voidupdate(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos) static voidupdate(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt) 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
typeMethods inherited from interface net.createmod.catnip.net.base.ClientboundPacketPayload
handleInternalMethods 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,ActorConfigPacket> STREAM_CODEC
-
-
Constructor Details
-
ActorConfigPacket
public ActorConfigPacket(int contraptionId, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt)
-
-
Method Details
-
update
public static void update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos) -
update
public static void update(com.simibubi.create.content.contraptions.AbstractContraptionEntity entity, net.minecraft.core.BlockPos localPos, net.minecraft.nbt.CompoundTag nbt) -
handle
public void handle(net.minecraft.client.player.LocalPlayer localPlayer) - Specified by:
handlein interfacenet.createmod.catnip.net.base.ClientboundPacketPayload
-
getTypeProvider
public net.createmod.catnip.net.base.BasePacketPayload.PacketTypeProvider getTypeProvider()- Specified by:
getTypeProviderin interfacenet.createmod.catnip.net.base.BasePacketPayload
-