net.minecraft.network.protocol.game

public class ServerboundSetCommandBlockPacket

implements Packet<ServerGamePacketListener>

aix
net.minecraft.network.protocol.game.ServerboundSetCommandBlockPacket
net.minecraft.class_2870

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSetCommandBlockPacket>
a
STREAM_CODEC
field_48217
private static final int
b
FLAG_TRACK_OUTPUT
field_33365
private static final int
c
FLAG_CONDITIONAL
field_33366
private static final int
d
FLAG_AUTOMATIC
field_33367
private final BlockPos
e
pos
field_13065
private final String
f
command
field_13064
private final boolean
g
trackOutput
field_13063
private final boolean
h
conditional
field_13062
private final boolean
i
automatic
field_13061
private final CommandBlockEntity$Mode
j
mode
field_13060

Constructor summary

ModifierConstructor
public (BlockPos arg0, String arg1, CommandBlockEntity$Mode arg2, boolean arg3, boolean arg4, boolean arg5)
private (FriendlyByteBuf arg0)

Method summary

Modifier and TypeMethod
private void
a(wc arg0)
write(FriendlyByteBuf arg0)
method_55997(class_2540 arg0)
public PacketType<ServerboundSetCommandBlockPacket>
a()
type()
method_65080()
public void
a(ahf arg0)
handle(ServerGamePacketListener arg0)
method_12469(class_2792 arg0)
public BlockPos
b()
getPos()
method_12473()
public String
e()
getCommand()
method_12470()
public boolean
f()
isTrackOutput()
method_12472()
public boolean
g()
isConditional()
method_12471()
public boolean
h()
isAutomatic()
method_12474()
public CommandBlockEntity$Mode
i()
getMode()
method_12468()