public class CUpdateMinecartCommandBlockPacket extends java.lang.Object implements IPacket<IServerPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
command |
private int |
entityId |
private boolean |
trackOutput |
Constructor and Description |
---|
CUpdateMinecartCommandBlockPacket() |
CUpdateMinecartCommandBlockPacket(int entityIdIn,
java.lang.String commandIn,
boolean trackOutputIn) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand() |
CommandBlockLogic |
getCommandBlock(World worldIn) |
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 int entityId
private java.lang.String command
private boolean trackOutput
public CUpdateMinecartCommandBlockPacket()
public CUpdateMinecartCommandBlockPacket(int entityIdIn, java.lang.String commandIn, boolean trackOutputIn)
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>
@Nullable public CommandBlockLogic getCommandBlock(World worldIn)
public java.lang.String getCommand()
public boolean shouldTrackOutput()