net.minecraft.network.protocol.game

public class ServerboundSetCommandMinecartPacket

implements Packet<ServerGamePacketListener>

ahx
net.minecraft.network.protocol.game.ServerboundSetCommandMinecartPacket
net.minecraft.class_2871
net.minecraft.network.packet.c2s.play.UpdateCommandBlockMinecartC2SPacket
net.minecraft.src.C_5191_
net.minecraft.network.protocol.game.PacketPlayInSetCommandMinecart

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSetCommandMinecartPacket>
a
STREAM_CODEC
field_48218
CODEC
f_313905_
private final int
b
entity
field_13067
entityId
f_134529_
private final String
c
command
field_13068
command
f_134530_
private final boolean
d
trackOutput
field_13066
trackOutput
f_134531_

Constructor summary

ModifierConstructor
public (int entityId, String command, boolean trackOutput)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55998(class_2540 arg0)
write(PacketByteBuf buf)
m_134546_(C_4983_ arg0)
public PacketType<ServerboundSetCommandMinecartPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12477(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public BaseCommandBlock
a(dcw arg0)
getCommandBlock(Level arg0)
method_12476(class_1937 arg0)
getMinecartCommandExecutor(World world)
m_134537_(C_1596_ arg0)
public String
b()
getCommand()
method_12475()
getCommand()
m_134545_()
public boolean
e()
isTrackOutput()
method_12478()
shouldTrackOutput()
m_134548_()