Class PacketModWrenchBlock
java.lang.Object
me.desht.pneumaticcraft.common.network.LocationIntPacket
me.desht.pneumaticcraft.common.network.PacketModWrenchBlock
Received on: SERVER
Sent from client when trying to rotate a block with a wrench other than PneumaticCraft's own wrench
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.common.network.LocationIntPacket
pos -
Constructor Summary
ConstructorsConstructorDescriptionPacketModWrenchBlock(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, net.minecraft.world.InteractionHand hand) PacketModWrenchBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand, int entityID) PacketModWrenchBlock(net.minecraft.network.FriendlyByteBuf buffer) -
Method Summary
-
Constructor Details
-
PacketModWrenchBlock
public PacketModWrenchBlock(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side, net.minecraft.world.InteractionHand hand) -
PacketModWrenchBlock
public PacketModWrenchBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.InteractionHand hand, int entityID) -
PacketModWrenchBlock
public PacketModWrenchBlock(net.minecraft.network.FriendlyByteBuf buffer)
-
-
Method Details
-
toBytes
public void toBytes(net.minecraft.network.FriendlyByteBuf buf) - Overrides:
toBytesin classLocationIntPacket
-
handle
-