net.minecraft.network.protocol.game

public class ServerboundSetCommandBlockPacket

implements Packet<ServerGamePacketListener>

ajc
net.minecraft.network.protocol.game.ServerboundSetCommandBlockPacket
net.minecraft.class_2870
net.minecraft.network.packet.c2s.play.UpdateCommandBlockC2SPacket
net.minecraft.network.protocol.game.PacketPlayInSetCommandBlock

Field summary

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

Constructor summary

ModifierConstructor
public (BlockPos pos, String command, CommandBlockEntity$Mode type, boolean trackOutput, boolean conditional, boolean alwaysActive)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55997(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSetCommandBlockPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12469(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BlockPos
b()
getPos()
method_12473()
getPos()
public String
e()
getCommand()
method_12470()
getCommand()
public boolean
f()
isTrackOutput()
method_12472()
shouldTrackOutput()
public boolean
g()
isConditional()
method_12471()
isConditional()
public boolean
h()
isAutomatic()
method_12474()
isAlwaysActive()
public CommandBlockEntity$Mode
i()
getMode()
method_12468()
getType()