Class ServerPlayNetworkHandler

java.lang.Object
net.minecraft.server.network.ServerCommonNetworkHandler
net.minecraft.server.network.ServerPlayNetworkHandler
All Implemented Interfaces:
PacketListener, ServerCommonPacketListener, ServerCookieResponsePacketListener, ServerCrashSafePacketListener, ServerPacketListener, ServerPlayPacketListener, ServerQueryPingPacketListener, TickablePacketListener, PlayerAssociatedNetworkHandler

Mappings:
Namespace Name
named net/minecraft/server/network/ServerPlayNetworkHandler
intermediary net/minecraft/class_3244
official atk
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/server/network/ServerPlayNetworkHandler;LOGGER:Lorg/slf4j/Logger;
      intermediary field_14121 Lnet/minecraft/class_3244;field_14121:Lorg/slf4j/Logger;
      official h Latk;h:Lorg/slf4j/Logger;
    • DEFAULT_SEQUENCE

      private static final int DEFAULT_SEQUENCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SEQUENCE Lnet/minecraft/server/network/ServerPlayNetworkHandler;DEFAULT_SEQUENCE:I
      intermediary field_37281 Lnet/minecraft/class_3244;field_37281:I
      official i Latk;i:I
    • MAX_PENDING_ACKNOWLEDGMENTS

      private static final int MAX_PENDING_ACKNOWLEDGMENTS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_PENDING_ACKNOWLEDGMENTS Lnet/minecraft/server/network/ServerPlayNetworkHandler;MAX_PENDING_ACKNOWLEDGMENTS:I
      intermediary field_39989 Lnet/minecraft/class_3244;field_39989:I
      official j Latk;j:I
    • field_49027

      private static final int field_49027
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49027 Lnet/minecraft/server/network/ServerPlayNetworkHandler;field_49027:I
      intermediary field_49027 Lnet/minecraft/class_3244;field_49027:I
      official k Latk;k:I
    • CHAT_VALIDATION_FAILED_TEXT

      private static final Text CHAT_VALIDATION_FAILED_TEXT
      Mappings:
      Namespace Name Mixin selector
      named CHAT_VALIDATION_FAILED_TEXT Lnet/minecraft/server/network/ServerPlayNetworkHandler;CHAT_VALIDATION_FAILED_TEXT:Lnet/minecraft/text/Text;
      intermediary field_39990 Lnet/minecraft/class_3244;field_39990:Lnet/minecraft/class_2561;
      official l Latk;l:Lxv;
    • INVALID_COMMAND_SIGNATURE_TEXT

      private static final Text INVALID_COMMAND_SIGNATURE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INVALID_COMMAND_SIGNATURE_TEXT Lnet/minecraft/server/network/ServerPlayNetworkHandler;INVALID_COMMAND_SIGNATURE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_50089 Lnet/minecraft/class_3244;field_50089:Lnet/minecraft/class_2561;
      official m Latk;m:Lxv;
    • field_49778

      private static final int field_49778
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_49778 Lnet/minecraft/server/network/ServerPlayNetworkHandler;field_49778:I
      intermediary field_49778 Lnet/minecraft/class_3244;field_49778:I
      official n Latk;n:I
    • player

      public ServerPlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      named player Lnet/minecraft/server/network/ServerPlayNetworkHandler;player:Lnet/minecraft/server/network/ServerPlayerEntity;
      intermediary field_14140 Lnet/minecraft/class_3244;field_14140:Lnet/minecraft/class_3222;
      official f Latk;f:Lasi;
    • chunkDataSender

      public final ChunkDataSender chunkDataSender
      Mappings:
      Namespace Name Mixin selector
      named chunkDataSender Lnet/minecraft/server/network/ServerPlayNetworkHandler;chunkDataSender:Lnet/minecraft/server/network/ChunkDataSender;
      intermediary field_45026 Lnet/minecraft/class_3244;field_45026:Lnet/minecraft/class_8608;
      official g Latk;g:Latf;
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      named ticks Lnet/minecraft/server/network/ServerPlayNetworkHandler;ticks:I
      intermediary field_14118 Lnet/minecraft/class_3244;field_14118:I
      official o Latk;o:I
    • sequence

      private int sequence
      Mappings:
      Namespace Name Mixin selector
      named sequence Lnet/minecraft/server/network/ServerPlayNetworkHandler;sequence:I
      intermediary field_37282 Lnet/minecraft/class_3244;field_37282:I
      official p Latk;p:I
    • messageCooldown

      private final Cooldown messageCooldown
      Mappings:
      Namespace Name Mixin selector
      named messageCooldown Lnet/minecraft/server/network/ServerPlayNetworkHandler;messageCooldown:Lnet/minecraft/util/Cooldown;
      intermediary field_54291 Lnet/minecraft/class_3244;field_54291:Lnet/minecraft/class_10222;
      official q Latk;q:Lbbe;
    • creativeItemDropCooldown

      private final Cooldown creativeItemDropCooldown
      Mappings:
      Namespace Name Mixin selector
      named creativeItemDropCooldown Lnet/minecraft/server/network/ServerPlayNetworkHandler;creativeItemDropCooldown:Lnet/minecraft/util/Cooldown;
      intermediary field_54292 Lnet/minecraft/class_3244;field_54292:Lnet/minecraft/class_10222;
      official r Latk;r:Lbbe;
    • lastTickX

      private double lastTickX
      Mappings:
      Namespace Name Mixin selector
      named lastTickX Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickX:D
      intermediary field_14130 Lnet/minecraft/class_3244;field_14130:D
      official s Latk;s:D
    • lastTickY

      private double lastTickY
      Mappings:
      Namespace Name Mixin selector
      named lastTickY Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickY:D
      intermediary field_14146 Lnet/minecraft/class_3244;field_14146:D
      official t Latk;t:D
    • lastTickZ

      private double lastTickZ
      Mappings:
      Namespace Name Mixin selector
      named lastTickZ Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickZ:D
      intermediary field_14128 Lnet/minecraft/class_3244;field_14128:D
      official u Latk;u:D
    • updatedX

      private double updatedX
      Mappings:
      Namespace Name Mixin selector
      named updatedX Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedX:D
      intermediary field_14145 Lnet/minecraft/class_3244;field_14145:D
      official v Latk;v:D
    • updatedY

      private double updatedY
      Mappings:
      Namespace Name Mixin selector
      named updatedY Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedY:D
      intermediary field_14126 Lnet/minecraft/class_3244;field_14126:D
      official w Latk;w:D
    • updatedZ

      private double updatedZ
      Mappings:
      Namespace Name Mixin selector
      named updatedZ Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedZ:D
      intermediary field_14144 Lnet/minecraft/class_3244;field_14144:D
      official x Latk;x:D
    • topmostRiddenEntity

      @Nullable private @Nullable Entity topmostRiddenEntity
      Mappings:
      Namespace Name Mixin selector
      named topmostRiddenEntity Lnet/minecraft/server/network/ServerPlayNetworkHandler;topmostRiddenEntity:Lnet/minecraft/entity/Entity;
      intermediary field_14147 Lnet/minecraft/class_3244;field_14147:Lnet/minecraft/class_1297;
      official y Latk;y:Lbvj;
    • lastTickRiddenX

      private double lastTickRiddenX
      Mappings:
      Namespace Name Mixin selector
      named lastTickRiddenX Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenX:D
      intermediary field_14143 Lnet/minecraft/class_3244;field_14143:D
      official z Latk;z:D
    • lastTickRiddenY

      private double lastTickRiddenY
      Mappings:
      Namespace Name Mixin selector
      named lastTickRiddenY Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenY:D
      intermediary field_14124 Lnet/minecraft/class_3244;field_14124:D
      official A Latk;A:D
    • lastTickRiddenZ

      private double lastTickRiddenZ
      Mappings:
      Namespace Name Mixin selector
      named lastTickRiddenZ Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenZ:D
      intermediary field_14142 Lnet/minecraft/class_3244;field_14142:D
      official B Latk;B:D
    • updatedRiddenX

      private double updatedRiddenX
      Mappings:
      Namespace Name Mixin selector
      named updatedRiddenX Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenX:D
      intermediary field_14122 Lnet/minecraft/class_3244;field_14122:D
      official C Latk;C:D
    • updatedRiddenY

      private double updatedRiddenY
      Mappings:
      Namespace Name Mixin selector
      named updatedRiddenY Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenY:D
      intermediary field_14141 Lnet/minecraft/class_3244;field_14141:D
      official D Latk;D:D
    • updatedRiddenZ

      private double updatedRiddenZ
      Mappings:
      Namespace Name Mixin selector
      named updatedRiddenZ Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenZ:D
      intermediary field_14120 Lnet/minecraft/class_3244;field_14120:D
      official E Latk;E:D
    • requestedTeleportPos

      @Nullable private @Nullable Vec3d requestedTeleportPos
      Mappings:
      Namespace Name Mixin selector
      named requestedTeleportPos Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportPos:Lnet/minecraft/util/math/Vec3d;
      intermediary field_14119 Lnet/minecraft/class_3244;field_14119:Lnet/minecraft/class_243;
      official F Latk;F:Lfbx;
    • requestedTeleportId

      private int requestedTeleportId
      Mappings:
      Namespace Name Mixin selector
      named requestedTeleportId Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportId:I
      intermediary field_14123 Lnet/minecraft/class_3244;field_14123:I
      official G Latk;G:I
    • prevTeleportCheckTicks

      private int prevTeleportCheckTicks
      Mappings:
      Namespace Name Mixin selector
      named prevTeleportCheckTicks Lnet/minecraft/server/network/ServerPlayNetworkHandler;prevTeleportCheckTicks:I
      intermediary field_14139 Lnet/minecraft/class_3244;field_14139:I
      official H Latk;H:I
    • floating

      private boolean floating
      Mappings:
      Namespace Name Mixin selector
      named floating Lnet/minecraft/server/network/ServerPlayNetworkHandler;floating:Z
      intermediary field_14131 Lnet/minecraft/class_3244;field_14131:Z
      official I Latk;I:Z
    • floatingTicks

      private int floatingTicks
      Mappings:
      Namespace Name Mixin selector
      named floatingTicks Lnet/minecraft/server/network/ServerPlayNetworkHandler;floatingTicks:I
      intermediary field_14138 Lnet/minecraft/class_3244;field_14138:I
      official J Latk;J:I
    • vehicleFloating

      private boolean vehicleFloating
      Mappings:
      Namespace Name Mixin selector
      named vehicleFloating Lnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloating:Z
      intermediary field_14129 Lnet/minecraft/class_3244;field_14129:Z
      official K Latk;K:Z
    • vehicleFloatingTicks

      private int vehicleFloatingTicks
      Mappings:
      Namespace Name Mixin selector
      named vehicleFloatingTicks Lnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloatingTicks:I
      intermediary field_14137 Lnet/minecraft/class_3244;field_14137:I
      official L Latk;L:I
    • movePacketsCount

      private int movePacketsCount
      Mappings:
      Namespace Name Mixin selector
      named movePacketsCount Lnet/minecraft/server/network/ServerPlayNetworkHandler;movePacketsCount:I
      intermediary field_14117 Lnet/minecraft/class_3244;field_14117:I
      official M Latk;M:I
    • lastTickMovePacketsCount

      private int lastTickMovePacketsCount
      Mappings:
      Namespace Name Mixin selector
      named lastTickMovePacketsCount Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickMovePacketsCount:I
      intermediary field_14135 Lnet/minecraft/class_3244;field_14135:I
      official N Latk;N:I
    • movedThisTick

      private boolean movedThisTick
      Mappings:
      Namespace Name Mixin selector
      named movedThisTick Lnet/minecraft/server/network/ServerPlayNetworkHandler;movedThisTick:Z
      intermediary field_52364 Lnet/minecraft/class_3244;field_52364:Z
      official O Latk;O:Z
    • session

      Mappings:
      Namespace Name Mixin selector
      named session Lnet/minecraft/server/network/ServerPlayNetworkHandler;session:Lnet/minecraft/network/encryption/PublicPlayerSession;
      intermediary field_40720 Lnet/minecraft/class_3244;field_40720:Lnet/minecraft/class_7822;
      official P Latk;P:Lym;
    • messageUnpacker

      private MessageChain.Unpacker messageUnpacker
      Mappings:
      Namespace Name Mixin selector
      named messageUnpacker Lnet/minecraft/server/network/ServerPlayNetworkHandler;messageUnpacker:Lnet/minecraft/network/message/MessageChain$Unpacker;
      intermediary field_39805 Lnet/minecraft/class_3244;field_39805:Lnet/minecraft/class_7610$class_7611;
      official Q Latk;Q:Lyp$b;
    • acknowledgmentValidator

      private final AcknowledgmentValidator acknowledgmentValidator
      Mappings:
      Namespace Name Mixin selector
      named acknowledgmentValidator Lnet/minecraft/server/network/ServerPlayNetworkHandler;acknowledgmentValidator:Lnet/minecraft/network/message/AcknowledgmentValidator;
      intermediary field_39825 Lnet/minecraft/class_3244;field_39825:Lnet/minecraft/class_7638;
      official R Latk;R:Lye;
    • signatureStorage

      private final MessageSignatureStorage signatureStorage
      Mappings:
      Namespace Name Mixin selector
      named signatureStorage Lnet/minecraft/server/network/ServerPlayNetworkHandler;signatureStorage:Lnet/minecraft/network/message/MessageSignatureStorage;
      intermediary field_39987 Lnet/minecraft/class_3244;field_39987:Lnet/minecraft/class_7561;
      official S Latk;S:Lyi;
    • messageChainTaskQueue

      private final MessageChainTaskQueue messageChainTaskQueue
      Mappings:
      Namespace Name Mixin selector
      named messageChainTaskQueue Lnet/minecraft/server/network/ServerPlayNetworkHandler;messageChainTaskQueue:Lnet/minecraft/network/message/MessageChainTaskQueue;
      intermediary field_39826 Lnet/minecraft/class_3244;field_39826:Lnet/minecraft/class_7619;
      official T Latk;T:Lazs;
    • requestedReconfiguration

      private boolean requestedReconfiguration
      Mappings:
      Namespace Name Mixin selector
      named requestedReconfiguration Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestedReconfiguration:Z
      intermediary field_45025 Lnet/minecraft/class_3244;field_45025:Z
      official U Latk;U:Z
  • Constructor Details

    • ServerPlayNetworkHandler

      public ServerPlayNetworkHandler(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player, ConnectedClientData clientData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/network/ServerPlayNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/network/ConnectedClientData;)V
      intermediary <init> Lnet/minecraft/class_3244;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;Lnet/minecraft/class_8792;)V
      official <init> Latk;<init>(Lnet/minecraft/server/MinecraftServer;Lwp;Lasi;Lasx;)V
  • Method Details

    • tick

      public void tick()
      Ticks this packet listener on the game engine thread. The listener is responsible for synchronizing between the game engine and netty event loop threads.
      Specified by:
      tick in interface TickablePacketListener
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/network/listener/TickablePacketListener;tick()V
      intermediary method_18784 Lnet/minecraft/class_7633;method_18784()V
      official d Lxj;d()V
    • getMaxAllowedFloatingTicks

      private int getMaxAllowedFloatingTicks(Entity vehicle)
      Mappings:
      Namespace Name Mixin selector
      named getMaxAllowedFloatingTicks Lnet/minecraft/server/network/ServerPlayNetworkHandler;getMaxAllowedFloatingTicks(Lnet/minecraft/entity/Entity;)I
      intermediary method_56922 Lnet/minecraft/class_3244;method_56922(Lnet/minecraft/class_1297;)I
      official a Latk;a(Lbvj;)I
    • syncWithPlayerPosition

      public void syncWithPlayerPosition()
      Mappings:
      Namespace Name Mixin selector
      named syncWithPlayerPosition Lnet/minecraft/server/network/ServerPlayNetworkHandler;syncWithPlayerPosition()V
      intermediary method_14372 Lnet/minecraft/class_3244;method_14372()V
      official l Latk;l()V
    • isConnectionOpen

      public boolean isConnectionOpen()
      Specified by:
      isConnectionOpen in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      named isConnectionOpen Lnet/minecraft/network/listener/PacketListener;isConnectionOpen()Z
      intermediary method_48106 Lnet/minecraft/class_2547;method_48106()Z
      official c Lxb;c()Z
    • accepts

      public boolean accepts(Packet<?> packet)
      Specified by:
      accepts in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      named accepts Lnet/minecraft/network/listener/PacketListener;accepts(Lnet/minecraft/network/packet/Packet;)Z
      intermediary method_52413 Lnet/minecraft/class_2547;method_52413(Lnet/minecraft/class_2596;)Z
      official a Lxb;a(Laac;)Z
    • getProfile

      protected com.mojang.authlib.GameProfile getProfile()
      Specified by:
      getProfile in class ServerCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      named getProfile Lnet/minecraft/server/network/ServerCommonNetworkHandler;getProfile()Lcom/mojang/authlib/GameProfile;
      intermediary method_52403 Lnet/minecraft/class_8609;method_52403()Lcom/mojang/authlib/GameProfile;
      official i Lath;i()Lcom/mojang/authlib/GameProfile;
    • filterText

      private <T, R> CompletableFuture<R> filterText(T text, BiFunction<TextStream,T,CompletableFuture<R>> filterer)
      Mappings:
      Namespace Name Mixin selector
      named filterText Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31275 Lnet/minecraft/class_3244;method_31275(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
      official a Latk;a(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/util/concurrent/CompletableFuture;
    • filterText

      private CompletableFuture<FilteredMessage> filterText(String text)
      Mappings:
      Namespace Name Mixin selector
      named filterText Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31277 Lnet/minecraft/class_3244;method_31277(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
      official a Latk;a(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
    • filterTexts

      private CompletableFuture<List<FilteredMessage>> filterTexts(List<String> texts)
      Mappings:
      Namespace Name Mixin selector
      named filterTexts Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterTexts(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_31279 Lnet/minecraft/class_3244;method_31279(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
      official a Latk;a(Ljava/util/List;)Ljava/util/concurrent/CompletableFuture;
    • onPlayerInput

      public void onPlayerInput(PlayerInputC2SPacket packet)
      Specified by:
      onPlayerInput in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerInput Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInput(Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;)V
      intermediary method_12067 Lnet/minecraft/class_2792;method_12067(Lnet/minecraft/class_2851;)V
      official a Lahm;a(Lait;)V
    • isMovementInvalid

      private static boolean isMovementInvalid(double x, double y, double z, float yaw, float pitch)
      Returns whether this movement is invalid.
      Returns:
      whether this movement is invalid
      Implementation Note:
      This method is used to determine whether players sending player and vehicle movement packets to the server should be kicked.
      Mappings:
      Namespace Name Mixin selector
      named isMovementInvalid Lnet/minecraft/server/network/ServerPlayNetworkHandler;isMovementInvalid(DDDFF)Z
      intermediary method_14371 Lnet/minecraft/class_3244;method_14371(DDDFF)Z
      official b Latk;b(DDDFF)Z
    • clampHorizontal

      private static double clampHorizontal(double d)
      Mappings:
      Namespace Name Mixin selector
      named clampHorizontal Lnet/minecraft/server/network/ServerPlayNetworkHandler;clampHorizontal(D)D
      intermediary method_34882 Lnet/minecraft/class_3244;method_34882(D)D
      official a Latk;a(D)D
    • clampVertical

      private static double clampVertical(double d)
      Mappings:
      Namespace Name Mixin selector
      named clampVertical Lnet/minecraft/server/network/ServerPlayNetworkHandler;clampVertical(D)D
      intermediary method_34883 Lnet/minecraft/class_3244;method_34883(D)D
      official b Latk;b(D)D
    • onVehicleMove

      public void onVehicleMove(VehicleMoveC2SPacket packet)
      Specified by:
      onVehicleMove in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onVehicleMove Lnet/minecraft/network/listener/ServerPlayPacketListener;onVehicleMove(Lnet/minecraft/network/packet/c2s/play/VehicleMoveC2SPacket;)V
      intermediary method_12078 Lnet/minecraft/class_2792;method_12078(Lnet/minecraft/class_2833;)V
      official a Lahm;a(Laim;)V
    • isEntityOnAir

      private boolean isEntityOnAir(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named isEntityOnAir Lnet/minecraft/server/network/ServerPlayNetworkHandler;isEntityOnAir(Lnet/minecraft/entity/Entity;)Z
      intermediary method_29780 Lnet/minecraft/class_3244;method_29780(Lnet/minecraft/class_1297;)Z
      official b Latk;b(Lbvj;)Z
    • onTeleportConfirm

      public void onTeleportConfirm(TeleportConfirmC2SPacket packet)
      Specified by:
      onTeleportConfirm in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onTeleportConfirm Lnet/minecraft/network/listener/ServerPlayPacketListener;onTeleportConfirm(Lnet/minecraft/network/packet/c2s/play/TeleportConfirmC2SPacket;)V
      intermediary method_12050 Lnet/minecraft/class_2792;method_12050(Lnet/minecraft/class_2793;)V
      official a Lahm;a(Laho;)V
    • onRecipeBookData

      public void onRecipeBookData(RecipeBookDataC2SPacket packet)
      Specified by:
      onRecipeBookData in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onRecipeBookData Lnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeBookData(Lnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;)V
      intermediary method_12047 Lnet/minecraft/class_2792;method_12047(Lnet/minecraft/class_2853;)V
      official a Lahm;a(Laiv;)V
    • onBundleItemSelected

      public void onBundleItemSelected(BundleItemSelectedC2SPacket packet)
      Specified by:
      onBundleItemSelected in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onBundleItemSelected Lnet/minecraft/network/listener/ServerPlayPacketListener;onBundleItemSelected(Lnet/minecraft/network/packet/c2s/play/BundleItemSelectedC2SPacket;)V
      intermediary method_61220 Lnet/minecraft/class_2792;method_61220(Lnet/minecraft/class_9837;)V
      official a Lahm;a(Laiy;)V
    • onRecipeCategoryOptions

      public void onRecipeCategoryOptions(RecipeCategoryOptionsC2SPacket packet)
      Specified by:
      onRecipeCategoryOptions in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onRecipeCategoryOptions Lnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeCategoryOptions(Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;)V
      intermediary method_30303 Lnet/minecraft/class_2792;method_30303(Lnet/minecraft/class_5427;)V
      official a Lahm;a(Laiu;)V
    • onAdvancementTab

      public void onAdvancementTab(AdvancementTabC2SPacket packet)
      Specified by:
      onAdvancementTab in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onAdvancementTab Lnet/minecraft/network/listener/ServerPlayPacketListener;onAdvancementTab(Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;)V
      intermediary method_12058 Lnet/minecraft/class_2792;method_12058(Lnet/minecraft/class_2859;)V
      official a Lahm;a(Laix;)V
    • onRequestCommandCompletions

      public void onRequestCommandCompletions(RequestCommandCompletionsC2SPacket packet)
      Specified by:
      onRequestCommandCompletions in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onRequestCommandCompletions Lnet/minecraft/network/listener/ServerPlayPacketListener;onRequestCommandCompletions(Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;)V
      intermediary method_12059 Lnet/minecraft/class_2792;method_12059(Lnet/minecraft/class_2805;)V
      official a Lahm;a(Lahz;)V
    • onUpdateCommandBlock

      public void onUpdateCommandBlock(UpdateCommandBlockC2SPacket packet)
      Specified by:
      onUpdateCommandBlock in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateCommandBlock Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlock(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;)V
      intermediary method_12077 Lnet/minecraft/class_2792;method_12077(Lnet/minecraft/class_2870;)V
      official a Lahm;a(Lajc;)V
    • onUpdateCommandBlockMinecart

      public void onUpdateCommandBlockMinecart(UpdateCommandBlockMinecartC2SPacket packet)
      Specified by:
      onUpdateCommandBlockMinecart in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateCommandBlockMinecart Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlockMinecart(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;)V
      intermediary method_12049 Lnet/minecraft/class_2792;method_12049(Lnet/minecraft/class_2871;)V
      official a Lahm;a(Lajd;)V
    • onPickFromInventory

      public void onPickFromInventory(PickFromInventoryC2SPacket packet)
      Specified by:
      onPickFromInventory in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPickFromInventory Lnet/minecraft/network/listener/ServerPlayPacketListener;onPickFromInventory(Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;)V
      intermediary method_12084 Lnet/minecraft/class_2792;method_12084(Lnet/minecraft/class_2838;)V
      official a Lahm;a(Laio;)V
    • onRenameItem

      public void onRenameItem(RenameItemC2SPacket packet)
      Specified by:
      onRenameItem in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onRenameItem Lnet/minecraft/network/listener/ServerPlayPacketListener;onRenameItem(Lnet/minecraft/network/packet/c2s/play/RenameItemC2SPacket;)V
      intermediary method_12060 Lnet/minecraft/class_2792;method_12060(Lnet/minecraft/class_2855;)V
      official a Lahm;a(Laiw;)V
    • onUpdateBeacon

      public void onUpdateBeacon(UpdateBeaconC2SPacket packet)
      Specified by:
      onUpdateBeacon in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateBeacon Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateBeacon(Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;)V
      intermediary method_12057 Lnet/minecraft/class_2792;method_12057(Lnet/minecraft/class_2866;)V
      official a Lahm;a(Laja;)V
    • onUpdateStructureBlock

      public void onUpdateStructureBlock(UpdateStructureBlockC2SPacket packet)
      Specified by:
      onUpdateStructureBlock in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateStructureBlock Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateStructureBlock(Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;)V
      intermediary method_12051 Lnet/minecraft/class_2792;method_12051(Lnet/minecraft/class_2875;)V
      official a Lahm;a(Lajg;)V
    • onUpdateJigsaw

      public void onUpdateJigsaw(UpdateJigsawC2SPacket packet)
      Specified by:
      onUpdateJigsaw in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateJigsaw Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateJigsaw(Lnet/minecraft/network/packet/c2s/play/UpdateJigsawC2SPacket;)V
      intermediary method_16383 Lnet/minecraft/class_2792;method_16383(Lnet/minecraft/class_3753;)V
      official a Lahm;a(Lajf;)V
    • onJigsawGenerating

      public void onJigsawGenerating(JigsawGeneratingC2SPacket packet)
      Specified by:
      onJigsawGenerating in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onJigsawGenerating Lnet/minecraft/network/listener/ServerPlayPacketListener;onJigsawGenerating(Lnet/minecraft/network/packet/c2s/play/JigsawGeneratingC2SPacket;)V
      intermediary method_27273 Lnet/minecraft/class_2792;method_27273(Lnet/minecraft/class_5194;)V
      official a Lahm;a(Laij;)V
    • onSelectMerchantTrade

      public void onSelectMerchantTrade(SelectMerchantTradeC2SPacket packet)
      Specified by:
      onSelectMerchantTrade in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onSelectMerchantTrade Lnet/minecraft/network/listener/ServerPlayPacketListener;onSelectMerchantTrade(Lnet/minecraft/network/packet/c2s/play/SelectMerchantTradeC2SPacket;)V
      intermediary method_12080 Lnet/minecraft/class_2792;method_12080(Lnet/minecraft/class_2863;)V
      official a Lahm;a(Laiz;)V
    • onBookUpdate

      public void onBookUpdate(BookUpdateC2SPacket packet)
      Specified by:
      onBookUpdate in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onBookUpdate Lnet/minecraft/network/listener/ServerPlayPacketListener;onBookUpdate(Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;)V
      intermediary method_12053 Lnet/minecraft/class_2792;method_12053(Lnet/minecraft/class_2820;)V
      official a Lahm;a(Laig;)V
    • updateBookContent

      private void updateBookContent(List<FilteredMessage> pages, int slotId)
      Mappings:
      Namespace Name Mixin selector
      named updateBookContent Lnet/minecraft/server/network/ServerPlayNetworkHandler;updateBookContent(Ljava/util/List;I)V
      intermediary method_31278 Lnet/minecraft/class_3244;method_31278(Ljava/util/List;I)V
      official a Latk;a(Ljava/util/List;I)V
    • addBook

      private void addBook(FilteredMessage title, List<FilteredMessage> pages, int slotId)
      Mappings:
      Namespace Name Mixin selector
      named addBook Lnet/minecraft/server/network/ServerPlayNetworkHandler;addBook(Lnet/minecraft/server/filter/FilteredMessage;Ljava/util/List;I)V
      intermediary method_31276 Lnet/minecraft/class_3244;method_31276(Lnet/minecraft/class_5837;Ljava/util/List;I)V
      official a Latk;a(Lata;Ljava/util/List;I)V
    • toRawFilteredPair

      private RawFilteredPair<String> toRawFilteredPair(FilteredMessage message)
      Mappings:
      Namespace Name Mixin selector
      named toRawFilteredPair Lnet/minecraft/server/network/ServerPlayNetworkHandler;toRawFilteredPair(Lnet/minecraft/server/filter/FilteredMessage;)Lnet/minecraft/text/RawFilteredPair;
      intermediary method_57142 Lnet/minecraft/class_3244;method_57142(Lnet/minecraft/class_5837;)Lnet/minecraft/class_9262;
      official a Latk;a(Lata;)Lasz;
    • onQueryEntityNbt

      public void onQueryEntityNbt(QueryEntityNbtC2SPacket packet)
      Specified by:
      onQueryEntityNbt in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onQueryEntityNbt Lnet/minecraft/network/listener/ServerPlayPacketListener;onQueryEntityNbt(Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;)V
      intermediary method_12074 Lnet/minecraft/class_2792;method_12074(Lnet/minecraft/class_2822;)V
      official a Lahm;a(Laih;)V
    • onSlotChangedState

      public void onSlotChangedState(SlotChangedStateC2SPacket packet)
      Specified by:
      onSlotChangedState in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onSlotChangedState Lnet/minecraft/network/listener/ServerPlayPacketListener;onSlotChangedState(Lnet/minecraft/network/packet/c2s/play/SlotChangedStateC2SPacket;)V
      intermediary method_54436 Lnet/minecraft/class_2792;method_54436(Lnet/minecraft/class_8875;)V
      official a Lahm;a(Laie;)V
    • onQueryBlockNbt

      public void onQueryBlockNbt(QueryBlockNbtC2SPacket packet)
      Specified by:
      onQueryBlockNbt in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onQueryBlockNbt Lnet/minecraft/network/listener/ServerPlayPacketListener;onQueryBlockNbt(Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;)V
      intermediary method_12072 Lnet/minecraft/class_2792;method_12072(Lnet/minecraft/class_2795;)V
      official a Lahm;a(Lahp;)V
    • onPlayerMove

      public void onPlayerMove(PlayerMoveC2SPacket packet)
      Specified by:
      onPlayerMove in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerMove Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerMove(Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;)V
      intermediary method_12063 Lnet/minecraft/class_2792;method_12063(Lnet/minecraft/class_2828;)V
      official a Lahm;a(Lail;)V
    • shouldCheckMovement

      private boolean shouldCheckMovement(boolean elytra)
      Mappings:
      Namespace Name Mixin selector
      named shouldCheckMovement Lnet/minecraft/server/network/ServerPlayNetworkHandler;shouldCheckMovement(Z)Z
      intermediary method_64962 Lnet/minecraft/class_3244;method_64962(Z)Z
      official a Latk;a(Z)Z
    • handlePendingTeleport

      private boolean handlePendingTeleport()
      Mappings:
      Namespace Name Mixin selector
      named handlePendingTeleport Lnet/minecraft/server/network/ServerPlayNetworkHandler;handlePendingTeleport()Z
      intermediary method_60947 Lnet/minecraft/class_3244;method_60947()Z
      official p Latk;p()Z
    • isPlayerNotCollidingWithBlocks

      private boolean isPlayerNotCollidingWithBlocks(WorldView world, Box box, double newX, double newY, double newZ)
      Mappings:
      Namespace Name Mixin selector
      named isPlayerNotCollidingWithBlocks Lnet/minecraft/server/network/ServerPlayNetworkHandler;isPlayerNotCollidingWithBlocks(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/Box;DDD)Z
      intermediary method_20630 Lnet/minecraft/class_3244;method_20630(Lnet/minecraft/class_4538;Lnet/minecraft/class_238;DDD)Z
      official a Latk;a(Ldhk;Lfbs;DDD)Z
    • requestTeleport

      public void requestTeleport(double x, double y, double z, float yaw, float pitch)
      Mappings:
      Namespace Name Mixin selector
      named requestTeleport Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(DDDFF)V
      intermediary method_14363 Lnet/minecraft/class_3244;method_14363(DDDFF)V
      official a Latk;a(DDDFF)V
    • requestTeleport

      public void requestTeleport(PlayerPosition pos, Set<PositionFlag> flags)
      Mappings:
      Namespace Name Mixin selector
      named requestTeleport Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(Lnet/minecraft/entity/player/PlayerPosition;Ljava/util/Set;)V
      intermediary method_14360 Lnet/minecraft/class_3244;method_14360(Lnet/minecraft/class_10182;Ljava/util/Set;)V
      official a Latk;a(Lbws;Ljava/util/Set;)V
    • onPlayerAction

      public void onPlayerAction(PlayerActionC2SPacket packet)
      Specified by:
      onPlayerAction in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerAction Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerAction(Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;)V
      intermediary method_12066 Lnet/minecraft/class_2792;method_12066(Lnet/minecraft/class_2846;)V
      official a Lahm;a(Lair;)V
    • canPlace

      private static boolean canPlace(ServerPlayerEntity player, ItemStack stack)
      Checks if a player can place a block or fluid from a bucket.

      For this to return true, the player must not be actively cooling down.

      Mappings:
      Namespace Name Mixin selector
      named canPlace Lnet/minecraft/server/network/ServerPlayNetworkHandler;canPlace(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_27913 Lnet/minecraft/class_3244;method_27913(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)Z
      official a Latk;a(Lasi;Lcxo;)Z
    • onPlayerInteractBlock

      public void onPlayerInteractBlock(PlayerInteractBlockC2SPacket packet)
      Specified by:
      onPlayerInteractBlock in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerInteractBlock Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractBlock(Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;)V
      intermediary method_12046 Lnet/minecraft/class_2792;method_12046(Lnet/minecraft/class_2885;)V
      official a Lahm;a(Lajk;)V
    • onPlayerInteractItem

      public void onPlayerInteractItem(PlayerInteractItemC2SPacket packet)
      Specified by:
      onPlayerInteractItem in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerInteractItem Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractItem(Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;)V
      intermediary method_12065 Lnet/minecraft/class_2792;method_12065(Lnet/minecraft/class_2886;)V
      official a Lahm;a(Lajl;)V
    • onSpectatorTeleport

      public void onSpectatorTeleport(SpectatorTeleportC2SPacket packet)
      Specified by:
      onSpectatorTeleport in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onSpectatorTeleport Lnet/minecraft/network/listener/ServerPlayPacketListener;onSpectatorTeleport(Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;)V
      intermediary method_12073 Lnet/minecraft/class_2792;method_12073(Lnet/minecraft/class_2884;)V
      official a Lahm;a(Lajj;)V
    • onBoatPaddleState

      public void onBoatPaddleState(BoatPaddleStateC2SPacket packet)
      Specified by:
      onBoatPaddleState in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onBoatPaddleState Lnet/minecraft/network/listener/ServerPlayPacketListener;onBoatPaddleState(Lnet/minecraft/network/packet/c2s/play/BoatPaddleStateC2SPacket;)V
      intermediary method_12064 Lnet/minecraft/class_2792;method_12064(Lnet/minecraft/class_2836;)V
      official a Lahm;a(Lain;)V
    • onDisconnected

      public void onDisconnected(DisconnectionInfo info)
      Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.
      Specified by:
      onDisconnected in interface PacketListener
      Overrides:
      onDisconnected in class ServerCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      named onDisconnected Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/network/DisconnectionInfo;)V
      intermediary method_10839 Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_9812;)V
      official a Lxb;a(Lwr;)V
    • cleanUp

      private void cleanUp()
      Mappings:
      Namespace Name Mixin selector
      named cleanUp Lnet/minecraft/server/network/ServerPlayNetworkHandler;cleanUp()V
      intermediary method_52415 Lnet/minecraft/class_3244;method_52415()V
      official q Latk;q()V
    • updateSequence

      public void updateSequence(int sequence)
      Mappings:
      Namespace Name Mixin selector
      named updateSequence Lnet/minecraft/server/network/ServerPlayNetworkHandler;updateSequence(I)V
      intermediary method_41255 Lnet/minecraft/class_3244;method_41255(I)V
      official a Latk;a(I)V
    • onUpdateSelectedSlot

      public void onUpdateSelectedSlot(UpdateSelectedSlotC2SPacket packet)
      Specified by:
      onUpdateSelectedSlot in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateSelectedSlot Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSelectedSlot(Lnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;)V
      intermediary method_12056 Lnet/minecraft/class_2792;method_12056(Lnet/minecraft/class_2868;)V
      official a Lahm;a(Lajb;)V
    • onChatMessage

      public void onChatMessage(ChatMessageC2SPacket packet)
      Specified by:
      onChatMessage in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onChatMessage Lnet/minecraft/network/listener/ServerPlayPacketListener;onChatMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;)V
      intermediary method_12048 Lnet/minecraft/class_2792;method_12048(Lnet/minecraft/class_2797;)V
      official a Lahm;a(Lahu;)V
    • onCommandExecution

      public void onCommandExecution(CommandExecutionC2SPacket packet)
      Specified by:
      onCommandExecution in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onCommandExecution Lnet/minecraft/network/listener/ServerPlayPacketListener;onCommandExecution(Lnet/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket;)V
      intermediary method_43667 Lnet/minecraft/class_2792;method_43667(Lnet/minecraft/class_7472;)V
      official a Lahm;a(Lahs;)V
    • executeCommand

      private void executeCommand(String command)
      Mappings:
      Namespace Name Mixin selector
      named executeCommand Lnet/minecraft/server/network/ServerPlayNetworkHandler;executeCommand(Ljava/lang/String;)V
      intermediary method_58590 Lnet/minecraft/class_3244;method_58590(Ljava/lang/String;)V
      official b Latk;b(Ljava/lang/String;)V
    • onChatCommandSigned

      public void onChatCommandSigned(ChatCommandSignedC2SPacket packet)
      Specified by:
      onChatCommandSigned in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onChatCommandSigned Lnet/minecraft/network/listener/ServerPlayPacketListener;onChatCommandSigned(Lnet/minecraft/network/packet/c2s/play/ChatCommandSignedC2SPacket;)V
      intermediary method_58580 Lnet/minecraft/class_2792;method_58580(Lnet/minecraft/class_9449;)V
      official a Lahm;a(Laht;)V
    • handleCommandExecution

      private void handleCommandExecution(ChatCommandSignedC2SPacket packet, LastSeenMessageList lastSeenMessages)
      Mappings:
      Namespace Name Mixin selector
      named handleCommandExecution Lnet/minecraft/server/network/ServerPlayNetworkHandler;handleCommandExecution(Lnet/minecraft/network/packet/c2s/play/ChatCommandSignedC2SPacket;Lnet/minecraft/network/message/LastSeenMessageList;)V
      intermediary method_45010 Lnet/minecraft/class_3244;method_45010(Lnet/minecraft/class_9449;Lnet/minecraft/class_7635;)V
      official a Latk;a(Laht;Lyc;)V
    • handleMessageChainException

      private void handleMessageChainException(MessageChain.MessageChainException exception)
      Mappings:
      Namespace Name Mixin selector
      named handleMessageChainException Lnet/minecraft/server/network/ServerPlayNetworkHandler;handleMessageChainException(Lnet/minecraft/network/message/MessageChain$MessageChainException;)V
      intermediary method_45171 Lnet/minecraft/class_3244;method_45171(Lnet/minecraft/class_7610$class_7825;)V
      official a Latk;a(Lyp$a;)V
    • collectArgumentMessages

      private <S> Map<String,SignedMessage> collectArgumentMessages(ChatCommandSignedC2SPacket packet, SignedArgumentList<S> arguments, LastSeenMessageList lastSeenMessages) throws MessageChain.MessageChainException
      Returns a map of argument name and value as signed messages.
      Returns:
      a map of argument name and value as signed messages
      Throws:
      MessageChain.MessageChainException
      Mappings:
      Namespace Name Mixin selector
      named collectArgumentMessages Lnet/minecraft/server/network/ServerPlayNetworkHandler;collectArgumentMessages(Lnet/minecraft/network/packet/c2s/play/ChatCommandSignedC2SPacket;Lnet/minecraft/command/argument/SignedArgumentList;Lnet/minecraft/network/message/LastSeenMessageList;)Ljava/util/Map;
      intermediary method_45006 Lnet/minecraft/class_3244;method_45006(Lnet/minecraft/class_9449;Lnet/minecraft/class_7644;Lnet/minecraft/class_7635;)Ljava/util/Map;
      official a Latk;a(Laht;Lyn;Lyc;)Ljava/util/Map;
    • toUnsignedSignatures

      private <S> Map<String,SignedMessage> toUnsignedSignatures(List<SignedArgumentList.ParsedArgument<S>> arguments) throws MessageChain.MessageChainException
      Throws:
      MessageChain.MessageChainException
      Mappings:
      Namespace Name Mixin selector
      named toUnsignedSignatures Lnet/minecraft/server/network/ServerPlayNetworkHandler;toUnsignedSignatures(Ljava/util/List;)Ljava/util/Map;
      intermediary method_58591 Lnet/minecraft/class_3244;method_58591(Ljava/util/List;)Ljava/util/Map;
      official b Latk;b(Ljava/util/List;)Ljava/util/Map;
    • createInvalidCommandSignatureException

      private static <S> MessageChain.MessageChainException createInvalidCommandSignatureException(String command, List<ArgumentSignatureDataMap.Entry> actual, List<SignedArgumentList.ParsedArgument<S>> expected)
      Mappings:
      Namespace Name Mixin selector
      named createInvalidCommandSignatureException Lnet/minecraft/server/network/ServerPlayNetworkHandler;createInvalidCommandSignatureException(Ljava/lang/String;Ljava/util/List;Ljava/util/List;)Lnet/minecraft/network/message/MessageChain$MessageChainException;
      intermediary method_58589 Lnet/minecraft/class_3244;method_58589(Ljava/lang/String;Ljava/util/List;Ljava/util/List;)Lnet/minecraft/class_7610$class_7825;
      official a Latk;a(Ljava/lang/String;Ljava/util/List;Ljava/util/List;)Lyp$a;
    • parse

      private com.mojang.brigadier.ParseResults<ServerCommandSource> parse(String command)
      Returns the result of parsing command.
      Parameters:
      command - the command to parse (without the leading slash)
      Returns:
      the result of parsing command
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/server/network/ServerPlayNetworkHandler;parse(Ljava/lang/String;)Lcom/mojang/brigadier/ParseResults;
      intermediary method_45003 Lnet/minecraft/class_3244;method_45003(Ljava/lang/String;)Lcom/mojang/brigadier/ParseResults;
      official c Latk;c(Ljava/lang/String;)Lcom/mojang/brigadier/ParseResults;
    • validateMessage

      private void validateMessage(String message, Runnable callback)
      Returns the validated acknowledgment if the message is valid, or an empty optional if it is not.

      This disconnects the player if the message arrives in improper order or if chat is disabled.

      Mappings:
      Namespace Name Mixin selector
      named validateMessage Lnet/minecraft/server/network/ServerPlayNetworkHandler;validateMessage(Ljava/lang/String;Ljava/lang/Runnable;)V
      intermediary method_44337 Lnet/minecraft/class_3244;method_44337(Ljava/lang/String;Ljava/lang/Runnable;)V
      official a Latk;a(Ljava/lang/String;Ljava/lang/Runnable;)V
    • validateAcknowledgment

      private Optional<LastSeenMessageList> validateAcknowledgment(LastSeenMessageList.Acknowledgment acknowledgment)
      Mappings:
      Namespace Name Mixin selector
      named validateAcknowledgment Lnet/minecraft/server/network/ServerPlayNetworkHandler;validateAcknowledgment(Lnet/minecraft/network/message/LastSeenMessageList$Acknowledgment;)Ljava/util/Optional;
      intermediary method_45169 Lnet/minecraft/class_3244;method_45169(Lnet/minecraft/class_7635$class_7636;)Ljava/util/Optional;
      official a Latk;a(Lyc$b;)Ljava/util/Optional;
    • hasIllegalCharacter

      private static boolean hasIllegalCharacter(String message)
      Returns whether message contains an illegal character.
      Returns:
      whether message contains an illegal character
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named hasIllegalCharacter Lnet/minecraft/server/network/ServerPlayNetworkHandler;hasIllegalCharacter(Ljava/lang/String;)Z
      intermediary method_43508 Lnet/minecraft/class_3244;method_43508(Ljava/lang/String;)Z
      official d Latk;d(Ljava/lang/String;)Z
    • getSignedMessage

      private SignedMessage getSignedMessage(ChatMessageC2SPacket packet, LastSeenMessageList lastSeenMessages) throws MessageChain.MessageChainException
      Throws:
      MessageChain.MessageChainException
      Mappings:
      Namespace Name Mixin selector
      named getSignedMessage Lnet/minecraft/server/network/ServerPlayNetworkHandler;getSignedMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;Lnet/minecraft/network/message/LastSeenMessageList;)Lnet/minecraft/network/message/SignedMessage;
      intermediary method_45011 Lnet/minecraft/class_3244;method_45011(Lnet/minecraft/class_2797;Lnet/minecraft/class_7635;)Lnet/minecraft/class_7471;
      official a Latk;a(Lahu;Lyc;)Lyl;
    • handleDecoratedMessage

      private void handleDecoratedMessage(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      named handleDecoratedMessage Lnet/minecraft/server/network/ServerPlayNetworkHandler;handleDecoratedMessage(Lnet/minecraft/network/message/SignedMessage;)V
      intermediary method_44155 Lnet/minecraft/class_3244;method_44155(Lnet/minecraft/class_7471;)V
      official b Latk;b(Lyl;)V
    • checkForSpam

      private void checkForSpam()
      Mappings:
      Namespace Name Mixin selector
      named checkForSpam Lnet/minecraft/server/network/ServerPlayNetworkHandler;checkForSpam()V
      intermediary method_43669 Lnet/minecraft/class_3244;method_43669()V
      official r Latk;r()V
    • onMessageAcknowledgment

      public void onMessageAcknowledgment(MessageAcknowledgmentC2SPacket packet)
      Specified by:
      onMessageAcknowledgment in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onMessageAcknowledgment Lnet/minecraft/network/listener/ServerPlayPacketListener;onMessageAcknowledgment(Lnet/minecraft/network/packet/c2s/play/MessageAcknowledgmentC2SPacket;)V
      intermediary method_44898 Lnet/minecraft/class_2792;method_44898(Lnet/minecraft/class_7640;)V
      official a Lahm;a(Lahr;)V
    • onHandSwing

      public void onHandSwing(HandSwingC2SPacket packet)
      Specified by:
      onHandSwing in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onHandSwing Lnet/minecraft/network/listener/ServerPlayPacketListener;onHandSwing(Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;)V
      intermediary method_12052 Lnet/minecraft/class_2792;method_12052(Lnet/minecraft/class_2879;)V
      official a Lahm;a(Laji;)V
    • onClientCommand

      public void onClientCommand(ClientCommandC2SPacket packet)
      Specified by:
      onClientCommand in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onClientCommand Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientCommand(Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;)V
      intermediary method_12045 Lnet/minecraft/class_2792;method_12045(Lnet/minecraft/class_2848;)V
      official a Lahm;a(Lais;)V
    • addPendingAcknowledgment

      public void addPendingAcknowledgment(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      named addPendingAcknowledgment Lnet/minecraft/server/network/ServerPlayNetworkHandler;addPendingAcknowledgment(Lnet/minecraft/network/message/SignedMessage;)V
      intermediary method_44897 Lnet/minecraft/class_3244;method_44897(Lnet/minecraft/class_7471;)V
      official a Latk;a(Lyl;)V
    • sendChatMessage

      public void sendChatMessage(SignedMessage message, MessageType.Parameters params)
      Mappings:
      Namespace Name Mixin selector
      named sendChatMessage Lnet/minecraft/server/network/ServerPlayNetworkHandler;sendChatMessage(Lnet/minecraft/network/message/SignedMessage;Lnet/minecraft/network/message/MessageType$Parameters;)V
      intermediary method_45170 Lnet/minecraft/class_3244;method_45170(Lnet/minecraft/class_7471;Lnet/minecraft/class_2556$class_7602;)V
      official a Latk;a(Lyl;Lxr$a;)V
    • sendProfilelessChatMessage

      public void sendProfilelessChatMessage(Text message, MessageType.Parameters params)
      Mappings:
      Namespace Name Mixin selector
      named sendProfilelessChatMessage Lnet/minecraft/server/network/ServerPlayNetworkHandler;sendProfilelessChatMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageType$Parameters;)V
      intermediary method_45168 Lnet/minecraft/class_3244;method_45168(Lnet/minecraft/class_2561;Lnet/minecraft/class_2556$class_7602;)V
      official a Latk;a(Lxv;Lxr$a;)V
    • getConnectionAddress

      public SocketAddress getConnectionAddress()
      Mappings:
      Namespace Name Mixin selector
      named getConnectionAddress Lnet/minecraft/server/network/ServerPlayNetworkHandler;getConnectionAddress()Ljava/net/SocketAddress;
      intermediary method_48107 Lnet/minecraft/class_3244;method_48107()Ljava/net/SocketAddress;
      official m Latk;m()Ljava/net/SocketAddress;
    • reconfigure

      public void reconfigure()
      Mappings:
      Namespace Name Mixin selector
      named reconfigure Lnet/minecraft/server/network/ServerPlayNetworkHandler;reconfigure()V
      intermediary method_52414 Lnet/minecraft/class_3244;method_52414()V
      official n Latk;n()V
    • onQueryPing

      public void onQueryPing(QueryPingC2SPacket packet)
      Handles a packet from client to query the "ping" (connection latency). This is different from CommonPingS2CPacket, which can be sent by the server to request acknowledgment.
      Specified by:
      onQueryPing in interface ServerQueryPingPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onQueryPing Lnet/minecraft/network/listener/ServerQueryPingPacketListener;onQueryPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V
      intermediary method_12697 Lnet/minecraft/class_8740;method_12697(Lnet/minecraft/class_2935;)V
      official a Lakr;a(Laks;)V
    • onPlayerInteractEntity

      public void onPlayerInteractEntity(PlayerInteractEntityC2SPacket packet)
      Specified by:
      onPlayerInteractEntity in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerInteractEntity Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractEntity(Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;)V
      intermediary method_12062 Lnet/minecraft/class_2792;method_12062(Lnet/minecraft/class_2824;)V
      official a Lahm;a(Laii;)V
    • onClientStatus

      public void onClientStatus(ClientStatusC2SPacket packet)
      Specified by:
      onClientStatus in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onClientStatus Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientStatus(Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;)V
      intermediary method_12068 Lnet/minecraft/class_2792;method_12068(Lnet/minecraft/class_2799;)V
      official a Lahm;a(Lahx;)V
    • onCloseHandledScreen

      public void onCloseHandledScreen(CloseHandledScreenC2SPacket packet)
      Specified by:
      onCloseHandledScreen in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onCloseHandledScreen Lnet/minecraft/network/listener/ServerPlayPacketListener;onCloseHandledScreen(Lnet/minecraft/network/packet/c2s/play/CloseHandledScreenC2SPacket;)V
      intermediary method_12054 Lnet/minecraft/class_2792;method_12054(Lnet/minecraft/class_2815;)V
      official a Lahm;a(Laid;)V
    • onClickSlot

      public void onClickSlot(ClickSlotC2SPacket packet)
      Specified by:
      onClickSlot in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onClickSlot Lnet/minecraft/network/listener/ServerPlayPacketListener;onClickSlot(Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;)V
      intermediary method_12076 Lnet/minecraft/class_2792;method_12076(Lnet/minecraft/class_2813;)V
      official a Lahm;a(Laic;)V
    • onCraftRequest

      public void onCraftRequest(CraftRequestC2SPacket packet)
      Specified by:
      onCraftRequest in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onCraftRequest Lnet/minecraft/network/listener/ServerPlayPacketListener;onCraftRequest(Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;)V
      intermediary method_12061 Lnet/minecraft/class_2792;method_12061(Lnet/minecraft/class_2840;)V
      official a Lahm;a(Laip;)V
    • onButtonClick

      public void onButtonClick(ButtonClickC2SPacket packet)
      Specified by:
      onButtonClick in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onButtonClick Lnet/minecraft/network/listener/ServerPlayPacketListener;onButtonClick(Lnet/minecraft/network/packet/c2s/play/ButtonClickC2SPacket;)V
      intermediary method_12055 Lnet/minecraft/class_2792;method_12055(Lnet/minecraft/class_2811;)V
      official a Lahm;a(Laib;)V
    • onCreativeInventoryAction

      public void onCreativeInventoryAction(CreativeInventoryActionC2SPacket packet)
      Specified by:
      onCreativeInventoryAction in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onCreativeInventoryAction Lnet/minecraft/network/listener/ServerPlayPacketListener;onCreativeInventoryAction(Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;)V
      intermediary method_12070 Lnet/minecraft/class_2792;method_12070(Lnet/minecraft/class_2873;)V
      official a Lahm;a(Laje;)V
    • onUpdateSign

      public void onUpdateSign(UpdateSignC2SPacket packet)
      Specified by:
      onUpdateSign in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateSign Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSign(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;)V
      intermediary method_12071 Lnet/minecraft/class_2792;method_12071(Lnet/minecraft/class_2877;)V
      official a Lahm;a(Lajh;)V
    • onSignUpdate

      private void onSignUpdate(UpdateSignC2SPacket packet, List<FilteredMessage> signText)
      Mappings:
      Namespace Name Mixin selector
      named onSignUpdate Lnet/minecraft/server/network/ServerPlayNetworkHandler;onSignUpdate(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;Ljava/util/List;)V
      intermediary method_31282 Lnet/minecraft/class_3244;method_31282(Lnet/minecraft/class_2877;Ljava/util/List;)V
      official a Latk;a(Lajh;Ljava/util/List;)V
    • onUpdatePlayerAbilities

      public void onUpdatePlayerAbilities(UpdatePlayerAbilitiesC2SPacket packet)
      Specified by:
      onUpdatePlayerAbilities in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdatePlayerAbilities Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdatePlayerAbilities(Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;)V
      intermediary method_12083 Lnet/minecraft/class_2792;method_12083(Lnet/minecraft/class_2842;)V
      official a Lahm;a(Laiq;)V
    • onClientOptions

      public void onClientOptions(ClientOptionsC2SPacket packet)
      Specified by:
      onClientOptions in interface ServerCommonPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onClientOptions Lnet/minecraft/network/listener/ServerCommonPacketListener;onClientOptions(Lnet/minecraft/network/packet/c2s/common/ClientOptionsC2SPacket;)V
      intermediary method_12069 Lnet/minecraft/class_8706;method_12069(Lnet/minecraft/class_2803;)V
      official a Laav;a(Laaw;)V
    • onUpdateDifficulty

      public void onUpdateDifficulty(UpdateDifficultyC2SPacket packet)
      Specified by:
      onUpdateDifficulty in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateDifficulty Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficulty(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;)V
      intermediary method_19475 Lnet/minecraft/class_2792;method_19475(Lnet/minecraft/class_4210;)V
      official a Lahm;a(Lahq;)V
    • onUpdateDifficultyLock

      public void onUpdateDifficultyLock(UpdateDifficultyLockC2SPacket packet)
      Specified by:
      onUpdateDifficultyLock in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onUpdateDifficultyLock Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficultyLock(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;)V
      intermediary method_19476 Lnet/minecraft/class_2792;method_19476(Lnet/minecraft/class_4211;)V
      official a Lahm;a(Laik;)V
    • onPlayerSession

      public void onPlayerSession(PlayerSessionC2SPacket packet)
      Specified by:
      onPlayerSession in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onPlayerSession Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerSession(Lnet/minecraft/network/packet/c2s/play/PlayerSessionC2SPacket;)V
      intermediary method_46367 Lnet/minecraft/class_2792;method_46367(Lnet/minecraft/class_7861;)V
      official a Lahm;a(Lahv;)V
    • onAcknowledgeReconfiguration

      public void onAcknowledgeReconfiguration(AcknowledgeReconfigurationC2SPacket packet)
      Specified by:
      onAcknowledgeReconfiguration in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onAcknowledgeReconfiguration Lnet/minecraft/network/listener/ServerPlayPacketListener;onAcknowledgeReconfiguration(Lnet/minecraft/network/packet/c2s/play/AcknowledgeReconfigurationC2SPacket;)V
      intermediary method_52279 Lnet/minecraft/class_2792;method_52279(Lnet/minecraft/class_8591;)V
      official a Lahm;a(Laia;)V
    • onAcknowledgeChunks

      public void onAcknowledgeChunks(AcknowledgeChunksC2SPacket packet)
      Specified by:
      onAcknowledgeChunks in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onAcknowledgeChunks Lnet/minecraft/network/listener/ServerPlayPacketListener;onAcknowledgeChunks(Lnet/minecraft/network/packet/c2s/play/AcknowledgeChunksC2SPacket;)V
      intermediary method_52278 Lnet/minecraft/class_2792;method_52278(Lnet/minecraft/class_8590;)V
      official a Lahm;a(Lahw;)V
    • onDebugSampleSubscription

      public void onDebugSampleSubscription(DebugSampleSubscriptionC2SPacket packet)
      Specified by:
      onDebugSampleSubscription in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onDebugSampleSubscription Lnet/minecraft/network/listener/ServerPlayPacketListener;onDebugSampleSubscription(Lnet/minecraft/network/packet/c2s/play/DebugSampleSubscriptionC2SPacket;)V
      intermediary method_56619 Lnet/minecraft/class_2792;method_56619(Lnet/minecraft/class_9179;)V
      official a Lahm;a(Laif;)V
    • setSession

      private void setSession(PublicPlayerSession session)
      Mappings:
      Namespace Name Mixin selector
      named setSession Lnet/minecraft/server/network/ServerPlayNetworkHandler;setSession(Lnet/minecraft/network/encryption/PublicPlayerSession;)V
      intermediary method_46365 Lnet/minecraft/class_3244;method_46365(Lnet/minecraft/class_7822;)V
      official a Latk;a(Lym;)V
    • onCustomPayload

      public void onCustomPayload(CustomPayloadC2SPacket packet)
      Specified by:
      onCustomPayload in interface ServerCommonPacketListener
      Overrides:
      onCustomPayload in class ServerCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      named onCustomPayload Lnet/minecraft/network/listener/ServerCommonPacketListener;onCustomPayload(Lnet/minecraft/network/packet/c2s/common/CustomPayloadC2SPacket;)V
      intermediary method_52392 Lnet/minecraft/class_8706;method_52392(Lnet/minecraft/class_2817;)V
      official a Laav;a(Laax;)V
    • onClientTickEnd

      public void onClientTickEnd(ClientTickEndC2SPacket packet)
      Specified by:
      onClientTickEnd in interface ServerPlayPacketListener
      Mappings:
      Namespace Name Mixin selector
      named onClientTickEnd Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientTickEnd(Lnet/minecraft/network/packet/c2s/play/ClientTickEndC2SPacket;)V
      intermediary method_61219 Lnet/minecraft/class_2792;method_61219(Lnet/minecraft/class_9836;)V
      official a Lahm;a(Lahy;)V
    • handleMovement

      private void handleMovement(Vec3d movement)
      Mappings:
      Namespace Name Mixin selector
      named handleMovement Lnet/minecraft/server/network/ServerPlayNetworkHandler;handleMovement(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_61290 Lnet/minecraft/class_3244;method_61290(Lnet/minecraft/class_243;)V
      official a Latk;a(Lfbx;)V
    • getPlayer

      public ServerPlayerEntity getPlayer()
      Specified by:
      getPlayer in interface PlayerAssociatedNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      named getPlayer Lnet/minecraft/server/network/PlayerAssociatedNetworkHandler;getPlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
      intermediary method_32311 Lnet/minecraft/class_5629;method_32311()Lnet/minecraft/class_3222;
      official o Latn;o()Lasi;