Class CUpdateMinecartCommandBlockPacket
java.lang.Object
net.minecraft.network.play.client.CUpdateMinecartCommandBlockPacket
- All Implemented Interfaces:
IPacket<IServerPlayNetHandler>
public class CUpdateMinecartCommandBlockPacket
extends Object
implements IPacket<IServerPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCUpdateMinecartCommandBlockPacket
(int p_i49542_1_, String p_i49542_2_, boolean p_i49542_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetCommandBlock
(World p_210371_1_) void
handle
(IServerPlayNetHandler p_148833_1_) 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
-
entity
private int entity -
command
-
trackOutput
private boolean trackOutput
-
-
Constructor Details
-
CUpdateMinecartCommandBlockPacket
public CUpdateMinecartCommandBlockPacket() -
CUpdateMinecartCommandBlockPacket
-
-
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>
-
getCommandBlock
-
getCommand
-
isTrackOutput
public boolean isTrackOutput()
-