Class PacketToggleArmorFeature
java.lang.Object
me.desht.pneumaticcraft.common.network.PacketToggleArmorFeature
Received on: BOTH
Sent by client to switch an armor module on or off
Sent by server to initiate the process on the client (client will send this packet back in response if the module
was actually changed)
-
Constructor Summary
ConstructorsConstructorDescriptionPacketToggleArmorFeature(net.minecraft.world.entity.EquipmentSlot slot, byte featureIndex, boolean state) -
Method Summary
-
Constructor Details
-
PacketToggleArmorFeature
public PacketToggleArmorFeature(net.minecraft.world.entity.EquipmentSlot slot, byte featureIndex, boolean state)
-
-
Method Details
-
toBytes
public void toBytes(net.minecraft.network.FriendlyByteBuf buf) -
handle
-