public class CUpdateCommandBlockPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private boolean |
auto |
private java.lang.String |
command |
private boolean |
conditional |
private CommandBlockTileEntity.Mode |
mode |
private BlockPos |
pos |
private boolean |
trackOutput |
Constructor and Description |
---|
CUpdateCommandBlockPacket() |
CUpdateCommandBlockPacket(BlockPos p_i49543_1_,
java.lang.String p_i49543_2_,
CommandBlockTileEntity.Mode p_i49543_3_,
boolean p_i49543_4_,
boolean p_i49543_5_,
boolean p_i49543_6_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand() |
CommandBlockTileEntity.Mode |
getMode() |
BlockPos |
getPos() |
boolean |
isAuto() |
boolean |
isConditional() |
void |
processPacket(IServerPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
shouldTrackOutput() |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private BlockPos pos
private java.lang.String command
private boolean trackOutput
private boolean conditional
private boolean auto
private CommandBlockTileEntity.Mode mode
public CUpdateCommandBlockPacket()
public CUpdateCommandBlockPacket(BlockPos p_i49543_1_, java.lang.String p_i49543_2_, CommandBlockTileEntity.Mode p_i49543_3_, boolean p_i49543_4_, boolean p_i49543_5_, boolean p_i49543_6_)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IServerPlayNetHandler>
java.io.IOException
public void processPacket(IServerPlayNetHandler handler)
processPacket
in interface IPacket<IServerPlayNetHandler>
public BlockPos getPos()
public java.lang.String getCommand()
public boolean shouldTrackOutput()
public boolean isConditional()
public boolean isAuto()
public CommandBlockTileEntity.Mode getMode()