public class SAnimateBlockBreakPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private int |
breakerId |
private BlockPos |
position |
private int |
progress |
Constructor and Description |
---|
SAnimateBlockBreakPacket() |
SAnimateBlockBreakPacket(int breakerIdIn,
BlockPos positionIn,
int progressIn) |
Modifier and Type | Method and Description |
---|---|
int |
getBreakerId() |
BlockPos |
getPosition() |
int |
getProgress() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int breakerId
private BlockPos position
private int progress
public SAnimateBlockBreakPacket()
public SAnimateBlockBreakPacket(int breakerIdIn, BlockPos positionIn, int progressIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public int getBreakerId()
public BlockPos getPosition()
public int getProgress()