Class ClientboundSyncEntityDataDictionaryPacket
java.lang.Object
com.stereowalker.unionlib.network.protocol.game.BasePacket
com.stereowalker.unionlib.network.protocol.game.ClientboundUnionPacket
com.stereowalker.unionlib.network.protocol.game.ClientboundSyncEntityDataDictionaryPacket
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stereowalker.unionlib.network.protocol.game.ClientboundUnionPacket
ClientboundUnionPacket.ClientExecute -
Field Summary
FieldsFields inherited from class com.stereowalker.unionlib.network.protocol.game.BasePacket
channels -
Constructor Summary
ConstructorsConstructorDescriptionClientboundSyncEntityDataDictionaryPacket(net.minecraft.network.FriendlyByteBuf byteBuf) -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(net.minecraft.network.FriendlyByteBuf byteBuf) net.minecraft.resources.ResourceLocationid()booleanrunOnClient(net.minecraft.world.entity.player.Player sender) Run whatever function you want on the client after the packet has been sent.Methods inherited from class com.stereowalker.unionlib.network.protocol.game.ClientboundUnionPacket
handleOnClient, message, send, send, send, shouldRun, verifyIfHandled
-
Field Details
-
id
public static net.minecraft.resources.ResourceLocation id
-
-
Constructor Details
-
ClientboundSyncEntityDataDictionaryPacket
public ClientboundSyncEntityDataDictionaryPacket() -
ClientboundSyncEntityDataDictionaryPacket
public ClientboundSyncEntityDataDictionaryPacket(net.minecraft.network.FriendlyByteBuf byteBuf)
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf byteBuf) - Specified by:
encodein classBasePacket
-
runOnClient
public boolean runOnClient(net.minecraft.world.entity.player.Player sender) Description copied from class:ClientboundUnionPacketRun whatever function you want on the client after the packet has been sent.- Overrides:
runOnClientin classClientboundUnionPacket- Returns:
-
id
public net.minecraft.resources.ResourceLocation id()- Specified by:
idin classBasePacket
-