net.minecraft.network.protocol.game

public class ServerboundSetCommandBlockPacket

implements Packet<ServerGamePacketListener>

ahw
net.minecraft.network.protocol.game.ServerboundSetCommandBlockPacket
net.minecraft.class_2870
net.minecraft.network.packet.c2s.play.UpdateCommandBlockC2SPacket
net.minecraft.src.C_5190_
net.minecraft.network.protocol.game.PacketPlayInSetCommandBlock

Field summary

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

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(vw arg0)
write(FriendlyByteBuf arg0)
method_55997(class_2540 arg0)
write(PacketByteBuf buf)
m_134522_(C_4983_ arg0)
public PacketType<ServerboundSetCommandBlockPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12469(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public BlockPos
b()
getPos()
method_12473()
getPos()
m_134521_()
public String
e()
getCommand()
method_12470()
getCommand()
m_134524_()
public boolean
f()
isTrackOutput()
method_12472()
shouldTrackOutput()
m_134525_()
public boolean
g()
isConditional()
method_12471()
isConditional()
m_134526_()
public boolean
h()
isAutomatic()
method_12474()
isAlwaysActive()
m_134527_()
public CommandBlockEntity$Mode
i()
getMode()
method_12468()
getType()
m_134528_()