net.minecraft.network.protocol.game

public class ServerboundSetCommandBlockPacket

implements Packet<ServerGamePacketListener>

aew
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
private static final int
a
FLAG_TRACK_OUTPUT
field_33365
TRACK_OUTPUT_MASK
f_179752_
private static final int
b
FLAG_CONDITIONAL
field_33366
CONDITIONAL_MASK
f_179753_
private static final int
c
FLAG_AUTOMATIC
field_33367
ALWAYS_ACTIVE_MASK
f_179754_
private final BlockPos
d
pos
field_13065
pos
f_134501_
private final String
e
command
field_13064
command
f_134502_
private final boolean
f
trackOutput
field_13063
trackOutput
f_134503_
private final boolean
g
conditional
field_13062
conditional
f_134504_
private final boolean
h
automatic
field_13061
alwaysActive
f_134505_
private final CommandBlockEntity$Mode
i
mode
field_13060
type
f_134506_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(adj arg0)
handle(ServerGamePacketListener arg0)
method_12469(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public BlockPos
a()
getPos()
method_12473()
getPos()
m_134521_()
public String
d()
getCommand()
method_12470()
getCommand()
m_134524_()
public boolean
e()
isTrackOutput()
method_12472()
shouldTrackOutput()
m_134525_()
public boolean
f()
isConditional()
method_12471()
isConditional()
m_134526_()
public boolean
g()
isAutomatic()
method_12474()
isAlwaysActive()
m_134527_()
public CommandBlockEntity$Mode
h()
getMode()
method_12468()
getType()
m_134528_()