Class PacketJetBootsStateSync
java.lang.Object
me.desht.pneumaticcraft.common.network.PacketJetBootsStateSync
Received on: CLIENT
Sent from server so that all clients know the jet boots state (enabled/active) of all other clients.
Allows us to play particles, do rotations, etc. with minimum traffic.
-
Constructor Summary
ConstructorsConstructorDescriptionPacketJetBootsStateSync(net.minecraft.world.entity.player.Player player, JetBootsStateTracker.JetBootsState state) -
Method Summary
-
Constructor Details
-
PacketJetBootsStateSync
public PacketJetBootsStateSync(net.minecraft.world.entity.player.Player player, JetBootsStateTracker.JetBootsState state)
-
-
Method Details
-
toBytes
public void toBytes(net.minecraft.network.FriendlyByteBuf buf) -
handle
-