Class PacketUpdateGui
java.lang.Object
me.desht.pneumaticcraft.common.network.PacketUpdateGui
Received on: CLIENT
The primary mechanism for sync'ing BE fields to an open GUI. BE fields annotated with @GuiSynced will be synced
in this packet, via
AbstractPneumaticCraftMenu.broadcastChanges().-
Constructor Summary
ConstructorsConstructorDescriptionPacketUpdateGui(int syncId, SyncedField<?> syncField) PacketUpdateGui(net.minecraft.network.FriendlyByteBuf buf) -
Method Summary
-
Constructor Details
-
PacketUpdateGui
-
PacketUpdateGui
public PacketUpdateGui(net.minecraft.network.FriendlyByteBuf buf)
-
-
Method Details
-
toBytes
public void toBytes(net.minecraft.network.FriendlyByteBuf buf) -
handle
-