Class RequestCommandCompletionsC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.RequestCommandCompletionsC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class RequestCommandCompletionsC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official io
intermediary net/minecraft/class_2052
named net/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket
  • Field Details

    • partialCommand

      private String partialCommand
      Mappings:
      Namespace Name Mixin selector
      official a Lio;a:Ljava/lang/String;
      intermediary field_8761 Lnet/minecraft/class_2052;field_8761:Ljava/lang/String;
      named partialCommand Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;partialCommand:Ljava/lang/String;
    • field_13796

      private boolean field_13796
      Mappings:
      Namespace Name Mixin selector
      official b Lio;b:Z
      intermediary field_13796 Lnet/minecraft/class_2052;field_13796:Z
      named field_13796 Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;field_13796:Z
    • lookingAt

      @Nullable private BlockPos lookingAt
      Mappings:
      Namespace Name Mixin selector
      official c Lio;c:Lco;
      intermediary field_11700 Lnet/minecraft/class_2052;field_11700:Lnet/minecraft/class_2552;
      named lookingAt Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;lookingAt:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • RequestCommandCompletionsC2SPacket

      public RequestCommandCompletionsC2SPacket()
    • RequestCommandCompletionsC2SPacket

      @Environment(CLIENT) public RequestCommandCompletionsC2SPacket(String string, @Nullable BlockPos blockPos, boolean bool)
  • Method Details

    • read

      public void read(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lfm;a(Let;)V
      intermediary method_7535 Lnet/minecraft/class_700;method_7535(Lnet/minecraft/class_1967;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
    • write

      public void write(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lfm;b(Let;)V
      intermediary method_7539 Lnet/minecraft/class_700;method_7539(Lnet/minecraft/class_1967;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lio;a(Lim;)V
      intermediary method_7950 Lnet/minecraft/class_2052;method_7950(Lnet/minecraft/class_2050;)V
      named apply Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getPartialCommand

      public String getPartialCommand()
      Mappings:
      Namespace Name Mixin selector
      official a Lio;a()Ljava/lang/String;
      intermediary method_7951 Lnet/minecraft/class_2052;method_7951()Ljava/lang/String;
      named getPartialCommand Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;getPartialCommand()Ljava/lang/String;
    • getLookingAt

      @Nullable public BlockPos getLookingAt()
      Mappings:
      Namespace Name Mixin selector
      official b Lio;b()Lco;
      intermediary method_10722 Lnet/minecraft/class_2052;method_10722()Lnet/minecraft/class_2552;
      named getLookingAt Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;getLookingAt()Lnet/minecraft/util/math/BlockPos;
    • method_12684

      public boolean method_12684()
      Mappings:
      Namespace Name Mixin selector
      official c Lio;c()Z
      intermediary method_12684 Lnet/minecraft/class_2052;method_12684()Z
      named method_12684 Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;method_12684()Z