Class CUpdateCommandBlockPacket
java.lang.Object
net.minecraft.network.play.client.CUpdateCommandBlockPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private String
private boolean
private CommandBlockTileEntity.Mode
private BlockPos
private boolean
-
Constructor Summary
ConstructorDescriptionCUpdateCommandBlockPacket
(BlockPos p_i49543_1_, String p_i49543_2_, CommandBlockTileEntity.Mode p_i49543_3_, boolean p_i49543_4_, boolean p_i49543_5_, boolean p_i49543_6_) -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
getPos()
void
handle
(IServerPlayNetHandler p_148833_1_) boolean
boolean
boolean
void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
pos
-
command
-
trackOutput
private boolean trackOutput -
conditional
private boolean conditional -
automatic
private boolean automatic -
mode
-
-
Constructor Details
-
CUpdateCommandBlockPacket
public CUpdateCommandBlockPacket() -
CUpdateCommandBlockPacket
public CUpdateCommandBlockPacket(BlockPos p_i49543_1_, String p_i49543_2_, CommandBlockTileEntity.Mode p_i49543_3_, boolean p_i49543_4_, boolean p_i49543_5_, boolean p_i49543_6_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IServerPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IServerPlayNetHandler>
-
getPos
-
getCommand
-
isTrackOutput
public boolean isTrackOutput() -
isConditional
public boolean isConditional() -
isAutomatic
public boolean isAutomatic() -
getMode
-