net.minecraft.network.protocol.game

public class ServerboundSetCommandMinecartPacket

implements Packet<ServerGamePacketListener>

ahz
net.minecraft.network.protocol.game.ServerboundSetCommandMinecartPacket
net.minecraft.class_2871
net.minecraft.network.packet.c2s.play.UpdateCommandBlockMinecartC2SPacket
net.minecraft.network.protocol.game.PacketPlayInSetCommandMinecart

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55998(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSetCommandMinecartPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12477(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BaseCommandBlock
a(dgj arg0)
getCommandBlock(Level arg0)
method_12476(class_1937 arg0)
getMinecartCommandExecutor(World world)
public String
b()
getCommand()
method_12475()
getCommand()
public boolean
e()
isTrackOutput()
method_12478()
shouldTrackOutput()