net.minecraft.network.protocol.game

public class ServerboundSetCommandBlockPacket

implements Packet<ServerGamePacketListener>

za
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(qx arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(xm arg0)
handle(ServerGamePacketListener arg0)
method_12469(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public BlockPos
b()
getPos()
method_12473()
getBlockPos()
m_134521_()
public String
c()
getCommand()
method_12470()
getCommand()
m_134524_()
public boolean
d()
isTrackOutput()
method_12472()
shouldTrackOutput()
m_134525_()
public boolean
e()
isConditional()
method_12471()
isConditional()
m_134526_()
public boolean
f()
isAutomatic()
method_12474()
isAlwaysActive()
m_134527_()
public CommandBlockEntity$Mode
g()
getMode()
method_12468()
getType()
m_134528_()