Class UpdateCommandBlockMinecartC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateCommandBlockMinecartC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateCommandBlockMinecartC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ud
intermediary net/minecraft/class_2871
named net/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private String
command
private int
entityId
private boolean
trackOutput
-
Constructor Summary
Constructors Constructor Description UpdateCommandBlockMinecartC2SPacket()
UpdateCommandBlockMinecartC2SPacket(int entityId, String command, boolean trackOutput)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
String
getCommand()
CommandBlockExecutor
getMinecartCommandExecutor(World world)
void
read(PacketByteBuf buf)
boolean
shouldTrackOutput()
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
entityId
private int entityId- Mappings:
Namespace Name Mixin selector official a
Lud;a:I
intermediary field_13067
Lnet/minecraft/class_2871;field_13067:I
named entityId
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;entityId:I
-
command
- Mappings:
Namespace Name Mixin selector official b
Lud;b:Ljava/lang/String;
intermediary field_13068
Lnet/minecraft/class_2871;field_13068:Ljava/lang/String;
named command
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;command:Ljava/lang/String;
-
trackOutput
private boolean trackOutput- Mappings:
Namespace Name Mixin selector official c
Lud;c:Z
intermediary field_13066
Lnet/minecraft/class_2871;field_13066:Z
named trackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;trackOutput:Z
-
-
Constructor Details
-
UpdateCommandBlockMinecartC2SPacket
public UpdateCommandBlockMinecartC2SPacket() -
UpdateCommandBlockMinecartC2SPacket
@Environment(CLIENT) public UpdateCommandBlockMinecartC2SPacket(int entityId, String command, boolean trackOutput)- Mappings:
Namespace Name Mixin selector official <init>
Lud;<init>(ILjava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_2871;<init>(ILjava/lang/String;Z)V
named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;<init>(ILjava/lang/String;Z)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lud;a(Lss;)V
intermediary method_12477
Lnet/minecraft/class_2871;method_12477(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getMinecartCommandExecutor
- Mappings:
Namespace Name Mixin selector official a
Lud;a(Lbtv;)Lbsv;
intermediary method_12476
Lnet/minecraft/class_2871;method_12476(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1918;
named getMinecartCommandExecutor
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;getMinecartCommandExecutor(Lnet/minecraft/world/World;)Lnet/minecraft/world/CommandBlockExecutor;
-
getCommand
- Mappings:
Namespace Name Mixin selector official b
Lud;b()Ljava/lang/String;
intermediary method_12475
Lnet/minecraft/class_2871;method_12475()Ljava/lang/String;
named getCommand
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;getCommand()Ljava/lang/String;
-
shouldTrackOutput
public boolean shouldTrackOutput()- Mappings:
Namespace Name Mixin selector official c
Lud;c()Z
intermediary method_12478
Lnet/minecraft/class_2871;method_12478()Z
named shouldTrackOutput
Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;shouldTrackOutput()Z
-