Package net.minecraft.server.network
Class ServerPlayNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerPlayNetworkHandler
- All Implemented Interfaces:
PacketListener,ServerPacketListener,ServerPlayPacketListener,EntityTrackingListener
public class ServerPlayNetworkHandler
extends Object
implements EntityTrackingListener, ServerPlayPacketListener
- Mappings:
Namespace Name official aghintermediary net/minecraft/class_3244named net/minecraft/server/network/ServerPlayNetworkHandler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ClientConnectionprivate intprivate static final intprivate booleanprivate intprivate static final intprivate longprivate longprivate final AtomicReference<Instant>private intprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate double(package private) static final org.slf4j.Loggerstatic final doubleprivate intprivate intprivate final PendingTaskRunnerprivate intprivate intprivate final MinecraftServerprivate intprivate intprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleprivate booleanprivate intprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionServerPlayNetworkHandler(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddBook(FilteredMessage<String> title, List<FilteredMessage<String>> pages, int slotId) private booleancanAcceptMessage(String message, Instant timestamp) Returns whethermessage, sent attimestamp, should be accepted.private static booleancanPlace(ServerPlayerEntity player, ItemStack stack) Checks if a player can place a block or fluid from a bucket.private booleanprivate voidprivate static doubleclampHorizontal(double d) private static doubleclampVertical(double d) private CompletableFuture<Text>private CompletableFuture<Text>decorateChat(String query) private CompletableFuture<Text>decorateCommand(com.mojang.brigadier.context.CommandContextBuilder<ServerCommandSource> builder) private CompletableFuture<Text>decorateCommand(String query) voiddisconnect(Text reason) private voidfilterText(String text, Consumer<FilteredMessage<String>> consumer) private <T,R> void filterText(T text, Consumer<R> consumer, BiFunction<TextStream, T, CompletableFuture<R>> backingFilterer) private voidfilterTexts(List<String> texts, Consumer<List<FilteredMessage<String>>> consumer) Returns the connection this packet listener intends to listen to.private voidprivate voidhandleMessage(ChatMessageC2SPacket packet, FilteredMessage<String> message) private static booleanhasIllegalCharacter(String message) Returns whethermessagecontains an illegal character.private booleanisEntityOnAir(Entity entity) private booleanReturns whether the message sent attimestampis expired.private booleanisHost()private booleanisInProperOrder(Instant timestamp) Returns whether the message sent attimestampis received in proper order.private static booleanisMovementInvalid(double x, double y, double z, float yaw, float pitch) Returns whether this movement is invalid.private booleanisPlayerNotCollidingWithBlocks(WorldView world, Box box) voidvoidvoidonBookUpdate(BookUpdateC2SPacket packet) voidonButtonClick(ButtonClickC2SPacket packet) voidonChatMessage(ChatMessageC2SPacket packet) voidonClickSlot(ClickSlotC2SPacket packet) voidvoidvoidonClientStatus(ClientStatusC2SPacket packet) voidvoidvoidonCraftRequest(CraftRequestC2SPacket packet) voidvoidvoidonDisconnected(Text reason) Called when the connection this listener listens to has disconnected.voidonHandSwing(HandSwingC2SPacket packet) voidvoidonKeepAlive(KeepAliveC2SPacket packet) voidvoidonPlayerAction(PlayerActionC2SPacket packet) voidonPlayerInput(PlayerInputC2SPacket packet) voidvoidvoidvoidonPlayerMove(PlayerMoveC2SPacket packet) voidonPong(PlayPongC2SPacket packet) voidvoidvoidvoidvoidonRenameItem(RenameItemC2SPacket packet) voidvoidvoidvoidprivate voidonSignUpdate(UpdateSignC2SPacket packet, List<FilteredMessage<String>> signText) voidvoidvoidonUpdateBeacon(UpdateBeaconC2SPacket packet) voidvoidvoidvoidvoidonUpdateJigsaw(UpdateJigsawC2SPacket packet) voidvoidvoidonUpdateSign(UpdateSignC2SPacket packet) voidvoidonVehicleMove(VehicleMoveC2SPacket packet) voidrequestTeleport(double x, double y, double z, float yaw, float pitch) voidrequestTeleport(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags) voidrequestTeleport(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags, boolean shouldDismount) voidrequestTeleportAndDismount(double x, double y, double z, float yaw, float pitch) private voidsendChatPreviewPacket(int queryId, Text preview) voidsendPacket(Packet<?> packet) voidsendPacket(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> listener) private voidsetTextToBook(List<FilteredMessage<String>> messages, UnaryOperator<String> postProcessor, ItemStack book) voidvoidtick()private voidupdateBookContent(List<FilteredMessage<String>> pages, int slotId) voidupdateSequence(int sequence) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.listener.ServerPacketListener
shouldCrashOnException
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official dLagh;d:Lorg/slf4j/Logger;intermediary field_14121Lnet/minecraft/class_3244;field_14121:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/server/network/ServerPlayNetworkHandler;LOGGER:Lorg/slf4j/Logger;
-
KEEP_ALIVE_INTERVAL
private static final int KEEP_ALIVE_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector official eLagh;e:Iintermediary field_29778Lnet/minecraft/class_3244;field_29778:Inamed KEEP_ALIVE_INTERVALLnet/minecraft/server/network/ServerPlayNetworkHandler;KEEP_ALIVE_INTERVAL:I
-
MAX_BREAK_SQUARED_DISTANCE
public static final double MAX_BREAK_SQUARED_DISTANCE- Mappings:
Namespace Name Mixin selector official aLagh;a:Dintermediary field_37280Lnet/minecraft/class_3244;field_37280:Dnamed MAX_BREAK_SQUARED_DISTANCELnet/minecraft/server/network/ServerPlayNetworkHandler;MAX_BREAK_SQUARED_DISTANCE:D
-
field_37281
private static final int field_37281- See Also:
- Mappings:
Namespace Name Mixin selector official fLagh;f:Iintermediary field_37281Lnet/minecraft/class_3244;field_37281:Inamed field_37281Lnet/minecraft/server/network/ServerPlayNetworkHandler;field_37281:I
-
connection
- Mappings:
Namespace Name Mixin selector official bLagh;b:Lqv;intermediary field_14127Lnet/minecraft/class_3244;field_14127:Lnet/minecraft/class_2535;named connectionLnet/minecraft/server/network/ServerPlayNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
server
- Mappings:
Namespace Name Mixin selector official gLagh;g:Lnet/minecraft/server/MinecraftServer;intermediary field_14148Lnet/minecraft/class_3244;field_14148:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/network/ServerPlayNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
player
- Mappings:
Namespace Name Mixin selector official cLagh;c:Lafp;intermediary field_14140Lnet/minecraft/class_3244;field_14140:Lnet/minecraft/class_3222;named playerLnet/minecraft/server/network/ServerPlayNetworkHandler;player:Lnet/minecraft/server/network/ServerPlayerEntity;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official hLagh;h:Iintermediary field_14118Lnet/minecraft/class_3244;field_14118:Inamed ticksLnet/minecraft/server/network/ServerPlayNetworkHandler;ticks:I
-
sequence
private int sequence- Mappings:
Namespace Name Mixin selector official iLagh;i:Iintermediary field_37282Lnet/minecraft/class_3244;field_37282:Inamed sequenceLnet/minecraft/server/network/ServerPlayNetworkHandler;sequence:I
-
lastKeepAliveTime
private long lastKeepAliveTime- Mappings:
Namespace Name Mixin selector official jLagh;j:Jintermediary field_14136Lnet/minecraft/class_3244;field_14136:Jnamed lastKeepAliveTimeLnet/minecraft/server/network/ServerPlayNetworkHandler;lastKeepAliveTime:J
-
waitingForKeepAlive
private boolean waitingForKeepAlive- Mappings:
Namespace Name Mixin selector official kLagh;k:Zintermediary field_14125Lnet/minecraft/class_3244;field_14125:Znamed waitingForKeepAliveLnet/minecraft/server/network/ServerPlayNetworkHandler;waitingForKeepAlive:Z
-
keepAliveId
private long keepAliveId- Mappings:
Namespace Name Mixin selector official lLagh;l:Jintermediary field_14134Lnet/minecraft/class_3244;field_14134:Jnamed keepAliveIdLnet/minecraft/server/network/ServerPlayNetworkHandler;keepAliveId:J
-
messageCooldown
private int messageCooldown- Mappings:
Namespace Name Mixin selector official mLagh;m:Iintermediary field_14116Lnet/minecraft/class_3244;field_14116:Inamed messageCooldownLnet/minecraft/server/network/ServerPlayNetworkHandler;messageCooldown:I
-
creativeItemDropThreshold
private int creativeItemDropThreshold- Mappings:
Namespace Name Mixin selector official nLagh;n:Iintermediary field_14133Lnet/minecraft/class_3244;field_14133:Inamed creativeItemDropThresholdLnet/minecraft/server/network/ServerPlayNetworkHandler;creativeItemDropThreshold:I
-
lastTickX
private double lastTickX- Mappings:
Namespace Name Mixin selector official oLagh;o:Dintermediary field_14130Lnet/minecraft/class_3244;field_14130:Dnamed lastTickXLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickX:D
-
lastTickY
private double lastTickY- Mappings:
Namespace Name Mixin selector official pLagh;p:Dintermediary field_14146Lnet/minecraft/class_3244;field_14146:Dnamed lastTickYLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickY:D
-
lastTickZ
private double lastTickZ- Mappings:
Namespace Name Mixin selector official qLagh;q:Dintermediary field_14128Lnet/minecraft/class_3244;field_14128:Dnamed lastTickZLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickZ:D
-
updatedX
private double updatedX- Mappings:
Namespace Name Mixin selector official rLagh;r:Dintermediary field_14145Lnet/minecraft/class_3244;field_14145:Dnamed updatedXLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedX:D
-
updatedY
private double updatedY- Mappings:
Namespace Name Mixin selector official sLagh;s:Dintermediary field_14126Lnet/minecraft/class_3244;field_14126:Dnamed updatedYLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedY:D
-
updatedZ
private double updatedZ- Mappings:
Namespace Name Mixin selector official tLagh;t:Dintermediary field_14144Lnet/minecraft/class_3244;field_14144:Dnamed updatedZLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedZ:D
-
topmostRiddenEntity
- Mappings:
Namespace Name Mixin selector official uLagh;u:Lbaq;intermediary field_14147Lnet/minecraft/class_3244;field_14147:Lnet/minecraft/class_1297;named topmostRiddenEntityLnet/minecraft/server/network/ServerPlayNetworkHandler;topmostRiddenEntity:Lnet/minecraft/entity/Entity;
-
lastTickRiddenX
private double lastTickRiddenX- Mappings:
Namespace Name Mixin selector official vLagh;v:Dintermediary field_14143Lnet/minecraft/class_3244;field_14143:Dnamed lastTickRiddenXLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenX:D
-
lastTickRiddenY
private double lastTickRiddenY- Mappings:
Namespace Name Mixin selector official wLagh;w:Dintermediary field_14124Lnet/minecraft/class_3244;field_14124:Dnamed lastTickRiddenYLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenY:D
-
lastTickRiddenZ
private double lastTickRiddenZ- Mappings:
Namespace Name Mixin selector official xLagh;x:Dintermediary field_14142Lnet/minecraft/class_3244;field_14142:Dnamed lastTickRiddenZLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenZ:D
-
updatedRiddenX
private double updatedRiddenX- Mappings:
Namespace Name Mixin selector official yLagh;y:Dintermediary field_14122Lnet/minecraft/class_3244;field_14122:Dnamed updatedRiddenXLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenX:D
-
updatedRiddenY
private double updatedRiddenY- Mappings:
Namespace Name Mixin selector official zLagh;z:Dintermediary field_14141Lnet/minecraft/class_3244;field_14141:Dnamed updatedRiddenYLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenY:D
-
updatedRiddenZ
private double updatedRiddenZ- Mappings:
Namespace Name Mixin selector official ALagh;A:Dintermediary field_14120Lnet/minecraft/class_3244;field_14120:Dnamed updatedRiddenZLnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenZ:D
-
requestedTeleportPos
- Mappings:
Namespace Name Mixin selector official BLagh;B:Ldvt;intermediary field_14119Lnet/minecraft/class_3244;field_14119:Lnet/minecraft/class_243;named requestedTeleportPosLnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportPos:Lnet/minecraft/util/math/Vec3d;
-
requestedTeleportId
private int requestedTeleportId- Mappings:
Namespace Name Mixin selector official CLagh;C:Iintermediary field_14123Lnet/minecraft/class_3244;field_14123:Inamed requestedTeleportIdLnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportId:I
-
teleportRequestTick
private int teleportRequestTick- Mappings:
Namespace Name Mixin selector official DLagh;D:Iintermediary field_14139Lnet/minecraft/class_3244;field_14139:Inamed teleportRequestTickLnet/minecraft/server/network/ServerPlayNetworkHandler;teleportRequestTick:I
-
floating
private boolean floating- Mappings:
Namespace Name Mixin selector official ELagh;E:Zintermediary field_14131Lnet/minecraft/class_3244;field_14131:Znamed floatingLnet/minecraft/server/network/ServerPlayNetworkHandler;floating:Z
-
floatingTicks
private int floatingTicks- Mappings:
Namespace Name Mixin selector official FLagh;F:Iintermediary field_14138Lnet/minecraft/class_3244;field_14138:Inamed floatingTicksLnet/minecraft/server/network/ServerPlayNetworkHandler;floatingTicks:I
-
vehicleFloating
private boolean vehicleFloating- Mappings:
Namespace Name Mixin selector official GLagh;G:Zintermediary field_14129Lnet/minecraft/class_3244;field_14129:Znamed vehicleFloatingLnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloating:Z
-
vehicleFloatingTicks
private int vehicleFloatingTicks- Mappings:
Namespace Name Mixin selector official HLagh;H:Iintermediary field_14137Lnet/minecraft/class_3244;field_14137:Inamed vehicleFloatingTicksLnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloatingTicks:I
-
movePacketsCount
private int movePacketsCount- Mappings:
Namespace Name Mixin selector official ILagh;I:Iintermediary field_14117Lnet/minecraft/class_3244;field_14117:Inamed movePacketsCountLnet/minecraft/server/network/ServerPlayNetworkHandler;movePacketsCount:I
-
lastTickMovePacketsCount
private int lastTickMovePacketsCount- Mappings:
Namespace Name Mixin selector official JLagh;J:Iintermediary field_14135Lnet/minecraft/class_3244;field_14135:Inamed lastTickMovePacketsCountLnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickMovePacketsCount:I
-
previewTaskRunner
- Mappings:
Namespace Name Mixin selector official KLagh;K:Lrh;intermediary field_39261Lnet/minecraft/class_3244;field_39261:Lnet/minecraft/class_7493;named previewTaskRunnerLnet/minecraft/server/network/ServerPlayNetworkHandler;previewTaskRunner:Lnet/minecraft/util/PendingTaskRunner;
-
lastMessageTimestamp
- Mappings:
Namespace Name Mixin selector official LLagh;L:Ljava/util/concurrent/atomic/AtomicReference;intermediary field_39394Lnet/minecraft/class_3244;field_39394:Ljava/util/concurrent/atomic/AtomicReference;named lastMessageTimestampLnet/minecraft/server/network/ServerPlayNetworkHandler;lastMessageTimestamp:Ljava/util/concurrent/atomic/AtomicReference;
-
-
Constructor Details
-
ServerPlayNetworkHandler
public ServerPlayNetworkHandler(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player) - Mappings:
Namespace Name Mixin selector official <init>Lagh;<init>(Lnet/minecraft/server/MinecraftServer;Lqv;Lafp;)Vintermediary <init>Lnet/minecraft/class_3244;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)Vnamed <init>Lnet/minecraft/server/network/ServerPlayNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;Lnet/minecraft/server/network/ServerPlayerEntity;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official cLagh;c()Vintermediary method_18784Lnet/minecraft/class_3244;method_18784()Vnamed tickLnet/minecraft/server/network/ServerPlayNetworkHandler;tick()V
-
syncWithPlayerPosition
public void syncWithPlayerPosition()- Mappings:
Namespace Name Mixin selector official dLagh;d()Vintermediary method_14372Lnet/minecraft/class_3244;method_14372()Vnamed syncWithPlayerPositionLnet/minecraft/server/network/ServerPlayNetworkHandler;syncWithPlayerPosition()V
-
getConnection
Returns the connection this packet listener intends to listen to.- Specified by:
getConnectionin interfacePacketListener- See Also:
- Mappings:
Namespace Name Mixin selector official aLra;a()Lqv;intermediary method_2872Lnet/minecraft/class_2547;method_2872()Lnet/minecraft/class_2535;named getConnectionLnet/minecraft/network/listener/PacketListener;getConnection()Lnet/minecraft/network/ClientConnection;
-
isHost
private boolean isHost()- Mappings:
Namespace Name Mixin selector official fLagh;f()Zintermediary method_19507Lnet/minecraft/class_3244;method_19507()Znamed isHostLnet/minecraft/server/network/ServerPlayNetworkHandler;isHost()Z
-
disconnect
- Mappings:
Namespace Name Mixin selector official bLagh;b(Lrm;)Vintermediary method_14367Lnet/minecraft/class_3244;method_14367(Lnet/minecraft/class_2561;)Vnamed disconnectLnet/minecraft/server/network/ServerPlayNetworkHandler;disconnect(Lnet/minecraft/text/Text;)V
-
filterText
private <T,R> void filterText(T text, Consumer<R> consumer, BiFunction<TextStream, T, CompletableFuture<R>> backingFilterer) - Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)Vintermediary method_31275Lnet/minecraft/class_3244;method_31275(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)Vnamed filterTextLnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)V
-
filterText
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/lang/String;Ljava/util/function/Consumer;)Vintermediary method_31277Lnet/minecraft/class_3244;method_31277(Ljava/lang/String;Ljava/util/function/Consumer;)Vnamed filterTextLnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/String;Ljava/util/function/Consumer;)V
-
filterTexts
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/util/List;Ljava/util/function/Consumer;)Vintermediary method_31279Lnet/minecraft/class_3244;method_31279(Ljava/util/List;Ljava/util/function/Consumer;)Vnamed filterTextsLnet/minecraft/server/network/ServerPlayNetworkHandler;filterTexts(Ljava/util/List;Ljava/util/function/Consumer;)V
-
onPlayerInput
- Specified by:
onPlayerInputin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxy;)Vintermediary method_12067Lnet/minecraft/class_2792;method_12067(Lnet/minecraft/class_2851;)Vnamed onPlayerInputLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInput(Lnet/minecraft/network/packet/c2s/play/PlayerInputC2SPacket;)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 official cLagh;c(DDDFF)Zintermediary method_14371Lnet/minecraft/class_3244;method_14371(DDDFF)Znamed isMovementInvalidLnet/minecraft/server/network/ServerPlayNetworkHandler;isMovementInvalid(DDDFF)Z
-
clampHorizontal
private static double clampHorizontal(double d) - Mappings:
Namespace Name Mixin selector official aLagh;a(D)Dintermediary method_34882Lnet/minecraft/class_3244;method_34882(D)Dnamed clampHorizontalLnet/minecraft/server/network/ServerPlayNetworkHandler;clampHorizontal(D)D
-
clampVertical
private static double clampVertical(double d) - Mappings:
Namespace Name Mixin selector official bLagh;b(D)Dintermediary method_34883Lnet/minecraft/class_3244;method_34883(D)Dnamed clampVerticalLnet/minecraft/server/network/ServerPlayNetworkHandler;clampVertical(D)D
-
onVehicleMove
- Specified by:
onVehicleMovein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxr;)Vintermediary method_12078Lnet/minecraft/class_2792;method_12078(Lnet/minecraft/class_2833;)Vnamed onVehicleMoveLnet/minecraft/network/listener/ServerPlayPacketListener;onVehicleMove(Lnet/minecraft/network/packet/c2s/play/VehicleMoveC2SPacket;)V
-
isEntityOnAir
- Mappings:
Namespace Name Mixin selector official aLagh;a(Lbaq;)Zintermediary method_29780Lnet/minecraft/class_3244;method_29780(Lnet/minecraft/class_1297;)Znamed isEntityOnAirLnet/minecraft/server/network/ServerPlayNetworkHandler;isEntityOnAir(Lnet/minecraft/entity/Entity;)Z
-
onTeleportConfirm
- Specified by:
onTeleportConfirmin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lwx;)Vintermediary method_12050Lnet/minecraft/class_2792;method_12050(Lnet/minecraft/class_2793;)Vnamed onTeleportConfirmLnet/minecraft/network/listener/ServerPlayPacketListener;onTeleportConfirm(Lnet/minecraft/network/packet/c2s/play/TeleportConfirmC2SPacket;)V
-
onRecipeBookData
- Specified by:
onRecipeBookDatain interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyb;)Vintermediary method_12047Lnet/minecraft/class_2792;method_12047(Lnet/minecraft/class_2853;)Vnamed onRecipeBookDataLnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeBookData(Lnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;)V
-
onRecipeCategoryOptions
- Specified by:
onRecipeCategoryOptionsin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lya;)Vintermediary method_30303Lnet/minecraft/class_2792;method_30303(Lnet/minecraft/class_5427;)Vnamed onRecipeCategoryOptionsLnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeCategoryOptions(Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;)V
-
onAdvancementTab
- Specified by:
onAdvancementTabin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lye;)Vintermediary method_12058Lnet/minecraft/class_2792;method_12058(Lnet/minecraft/class_2859;)Vnamed onAdvancementTabLnet/minecraft/network/listener/ServerPlayPacketListener;onAdvancementTab(Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;)V
-
onRequestCommandCompletions
- Specified by:
onRequestCommandCompletionsin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxf;)Vintermediary method_12059Lnet/minecraft/class_2792;method_12059(Lnet/minecraft/class_2805;)Vnamed onRequestCommandCompletionsLnet/minecraft/network/listener/ServerPlayPacketListener;onRequestCommandCompletions(Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;)V
-
onUpdateCommandBlock
- Specified by:
onUpdateCommandBlockin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyi;)Vintermediary method_12077Lnet/minecraft/class_2792;method_12077(Lnet/minecraft/class_2870;)Vnamed onUpdateCommandBlockLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlock(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;)V
-
onUpdateCommandBlockMinecart
- Specified by:
onUpdateCommandBlockMinecartin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyj;)Vintermediary method_12049Lnet/minecraft/class_2792;method_12049(Lnet/minecraft/class_2871;)Vnamed onUpdateCommandBlockMinecartLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlockMinecart(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;)V
-
onPickFromInventory
- Specified by:
onPickFromInventoryin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxt;)Vintermediary method_12084Lnet/minecraft/class_2792;method_12084(Lnet/minecraft/class_2838;)Vnamed onPickFromInventoryLnet/minecraft/network/listener/ServerPlayPacketListener;onPickFromInventory(Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;)V
-
onRenameItem
- Specified by:
onRenameItemin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyc;)Vintermediary method_12060Lnet/minecraft/class_2792;method_12060(Lnet/minecraft/class_2855;)Vnamed onRenameItemLnet/minecraft/network/listener/ServerPlayPacketListener;onRenameItem(Lnet/minecraft/network/packet/c2s/play/RenameItemC2SPacket;)V
-
onUpdateBeacon
- Specified by:
onUpdateBeaconin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyg;)Vintermediary method_12057Lnet/minecraft/class_2792;method_12057(Lnet/minecraft/class_2866;)Vnamed onUpdateBeaconLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateBeacon(Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;)V
-
onUpdateStructureBlock
- Specified by:
onUpdateStructureBlockin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lym;)Vintermediary method_12051Lnet/minecraft/class_2792;method_12051(Lnet/minecraft/class_2875;)Vnamed onUpdateStructureBlockLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateStructureBlock(Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;)V
-
onUpdateJigsaw
- Specified by:
onUpdateJigsawin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyl;)Vintermediary method_16383Lnet/minecraft/class_2792;method_16383(Lnet/minecraft/class_3753;)Vnamed onUpdateJigsawLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateJigsaw(Lnet/minecraft/network/packet/c2s/play/UpdateJigsawC2SPacket;)V
-
onJigsawGenerating
- Specified by:
onJigsawGeneratingin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxn;)Vintermediary method_27273Lnet/minecraft/class_2792;method_27273(Lnet/minecraft/class_5194;)Vnamed onJigsawGeneratingLnet/minecraft/network/listener/ServerPlayPacketListener;onJigsawGenerating(Lnet/minecraft/network/packet/c2s/play/JigsawGeneratingC2SPacket;)V
-
onSelectMerchantTrade
- Specified by:
onSelectMerchantTradein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyf;)Vintermediary method_12080Lnet/minecraft/class_2792;method_12080(Lnet/minecraft/class_2863;)Vnamed onSelectMerchantTradeLnet/minecraft/network/listener/ServerPlayPacketListener;onSelectMerchantTrade(Lnet/minecraft/network/packet/c2s/play/SelectMerchantTradeC2SPacket;)V
-
onBookUpdate
- Specified by:
onBookUpdatein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxk;)Vintermediary method_12053Lnet/minecraft/class_2792;method_12053(Lnet/minecraft/class_2820;)Vnamed onBookUpdateLnet/minecraft/network/listener/ServerPlayPacketListener;onBookUpdate(Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;)V
-
updateBookContent
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/util/List;I)Vintermediary method_31278Lnet/minecraft/class_3244;method_31278(Ljava/util/List;I)Vnamed updateBookContentLnet/minecraft/server/network/ServerPlayNetworkHandler;updateBookContent(Ljava/util/List;I)V
-
addBook
private void addBook(FilteredMessage<String> title, List<FilteredMessage<String>> pages, int slotId) - Mappings:
Namespace Name Mixin selector official aLagh;a(Lagd;Ljava/util/List;I)Vintermediary method_31276Lnet/minecraft/class_3244;method_31276(Lnet/minecraft/class_5837;Ljava/util/List;I)Vnamed addBookLnet/minecraft/server/network/ServerPlayNetworkHandler;addBook(Lnet/minecraft/server/filter/FilteredMessage;Ljava/util/List;I)V
-
setTextToBook
private void setTextToBook(List<FilteredMessage<String>> messages, UnaryOperator<String> postProcessor, ItemStack book) - Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/util/List;Ljava/util/function/UnaryOperator;Lcaa;)Vintermediary method_33796Lnet/minecraft/class_3244;method_33796(Ljava/util/List;Ljava/util/function/UnaryOperator;Lnet/minecraft/class_1799;)Vnamed setTextToBookLnet/minecraft/server/network/ServerPlayNetworkHandler;setTextToBook(Ljava/util/List;Ljava/util/function/UnaryOperator;Lnet/minecraft/item/ItemStack;)V
-
onQueryEntityNbt
- Specified by:
onQueryEntityNbtin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxl;)Vintermediary method_12074Lnet/minecraft/class_2792;method_12074(Lnet/minecraft/class_2822;)Vnamed onQueryEntityNbtLnet/minecraft/network/listener/ServerPlayPacketListener;onQueryEntityNbt(Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;)V
-
onQueryBlockNbt
- Specified by:
onQueryBlockNbtin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lwy;)Vintermediary method_12072Lnet/minecraft/class_2792;method_12072(Lnet/minecraft/class_2795;)Vnamed onQueryBlockNbtLnet/minecraft/network/listener/ServerPlayPacketListener;onQueryBlockNbt(Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;)V
-
onPlayerMove
- Specified by:
onPlayerMovein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxq;)Vintermediary method_12063Lnet/minecraft/class_2792;method_12063(Lnet/minecraft/class_2828;)Vnamed onPlayerMoveLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerMove(Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;)V
-
isPlayerNotCollidingWithBlocks
- Mappings:
Namespace Name Mixin selector official aLagh;a(Lcgd;Ldvo;)Zintermediary method_20630Lnet/minecraft/class_3244;method_20630(Lnet/minecraft/class_4538;Lnet/minecraft/class_238;)Znamed isPlayerNotCollidingWithBlocksLnet/minecraft/server/network/ServerPlayNetworkHandler;isPlayerNotCollidingWithBlocks(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/Box;)Z
-
requestTeleportAndDismount
public void requestTeleportAndDismount(double x, double y, double z, float yaw, float pitch) - Mappings:
Namespace Name Mixin selector official aLagh;a(DDDFF)Vintermediary method_33562Lnet/minecraft/class_3244;method_33562(DDDFF)Vnamed requestTeleportAndDismountLnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleportAndDismount(DDDFF)V
-
requestTeleport
public void requestTeleport(double x, double y, double z, float yaw, float pitch) - Mappings:
Namespace Name Mixin selector official bLagh;b(DDDFF)Vintermediary method_14363Lnet/minecraft/class_3244;method_14363(DDDFF)Vnamed requestTeleportLnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(DDDFF)V
-
requestTeleport
public void requestTeleport(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags) - Mappings:
Namespace Name Mixin selector official aLagh;a(DDDFFLjava/util/Set;)Vintermediary method_14360Lnet/minecraft/class_3244;method_14360(DDDFFLjava/util/Set;)Vnamed requestTeleportLnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(DDDFFLjava/util/Set;)V
-
requestTeleport
public void requestTeleport(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags, boolean shouldDismount) - Mappings:
Namespace Name Mixin selector official aLagh;a(DDDFFLjava/util/Set;Z)Vintermediary method_33563Lnet/minecraft/class_3244;method_33563(DDDFFLjava/util/Set;Z)Vnamed requestTeleportLnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(DDDFFLjava/util/Set;Z)V
-
onPlayerAction
- Specified by:
onPlayerActionin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxw;)Vintermediary method_12066Lnet/minecraft/class_2792;method_12066(Lnet/minecraft/class_2846;)Vnamed onPlayerActionLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerAction(Lnet/minecraft/network/packet/c2s/play/PlayerActionC2SPacket;)V
-
canPlace
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 official aLagh;a(Lafp;Lcaa;)Zintermediary method_27913Lnet/minecraft/class_3244;method_27913(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)Znamed canPlaceLnet/minecraft/server/network/ServerPlayNetworkHandler;canPlace(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
onPlayerInteractBlock
- Specified by:
onPlayerInteractBlockin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyq;)Vintermediary method_12046Lnet/minecraft/class_2792;method_12046(Lnet/minecraft/class_2885;)Vnamed onPlayerInteractBlockLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractBlock(Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;)V
-
onPlayerInteractItem
- Specified by:
onPlayerInteractItemin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyr;)Vintermediary method_12065Lnet/minecraft/class_2792;method_12065(Lnet/minecraft/class_2886;)Vnamed onPlayerInteractItemLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractItem(Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;)V
-
onSpectatorTeleport
- Specified by:
onSpectatorTeleportin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyp;)Vintermediary method_12073Lnet/minecraft/class_2792;method_12073(Lnet/minecraft/class_2884;)Vnamed onSpectatorTeleportLnet/minecraft/network/listener/ServerPlayPacketListener;onSpectatorTeleport(Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;)V
-
onResourcePackStatus
- Specified by:
onResourcePackStatusin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyd;)Vintermediary method_12081Lnet/minecraft/class_2792;method_12081(Lnet/minecraft/class_2856;)Vnamed onResourcePackStatusLnet/minecraft/network/listener/ServerPlayPacketListener;onResourcePackStatus(Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;)V
-
onBoatPaddleState
- Specified by:
onBoatPaddleStatein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxs;)Vintermediary method_12064Lnet/minecraft/class_2792;method_12064(Lnet/minecraft/class_2836;)Vnamed onBoatPaddleStateLnet/minecraft/network/listener/ServerPlayPacketListener;onBoatPaddleState(Lnet/minecraft/network/packet/c2s/play/BoatPaddleStateC2SPacket;)V
-
onPong
- Specified by:
onPongin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxz;)Vintermediary method_36580Lnet/minecraft/class_2792;method_36580(Lnet/minecraft/class_6374;)Vnamed onPongLnet/minecraft/network/listener/ServerPlayPacketListener;onPong(Lnet/minecraft/network/packet/c2s/play/PlayPongC2SPacket;)V
-
onDisconnected
Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.- Specified by:
onDisconnectedin interfacePacketListener- Parameters:
reason- the reason of disconnection; may be a generic message- Mappings:
Namespace Name Mixin selector official aLra;a(Lrm;)Vintermediary method_10839Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)Vnamed onDisconnectedLnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
updateSequence
public void updateSequence(int sequence) - Mappings:
Namespace Name Mixin selector official aLagh;a(I)Vintermediary method_41255Lnet/minecraft/class_3244;method_41255(I)Vnamed updateSequenceLnet/minecraft/server/network/ServerPlayNetworkHandler;updateSequence(I)V
-
sendPacket
- Specified by:
sendPacketin interfaceEntityTrackingListener- Mappings:
Namespace Name Mixin selector official aLagk;a(Lso;)Vintermediary method_14364Lnet/minecraft/class_5629;method_14364(Lnet/minecraft/class_2596;)Vnamed sendPacketLnet/minecraft/server/world/EntityTrackingListener;sendPacket(Lnet/minecraft/network/Packet;)V
-
sendPacket
public void sendPacket(Packet<?> packet, @Nullable @Nullable GenericFutureListener<? extends Future<? super Void>> listener) - Mappings:
Namespace Name Mixin selector official aLagh;a(Lso;Lio/netty/util/concurrent/GenericFutureListener;)Vintermediary method_14369Lnet/minecraft/class_3244;method_14369(Lnet/minecraft/class_2596;Lio/netty/util/concurrent/GenericFutureListener;)Vnamed sendPacketLnet/minecraft/server/network/ServerPlayNetworkHandler;sendPacket(Lnet/minecraft/network/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V
-
onUpdateSelectedSlot
- Specified by:
onUpdateSelectedSlotin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyh;)Vintermediary method_12056Lnet/minecraft/class_2792;method_12056(Lnet/minecraft/class_2868;)Vnamed onUpdateSelectedSlotLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSelectedSlot(Lnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;)V
-
onChatMessage
- Specified by:
onChatMessagein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxb;)Vintermediary method_12048Lnet/minecraft/class_2792;method_12048(Lnet/minecraft/class_2797;)Vnamed onChatMessageLnet/minecraft/network/listener/ServerPlayPacketListener;onChatMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;)V
-
onCommandExecution
- Specified by:
onCommandExecutionin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxa;)Vintermediary method_43667Lnet/minecraft/class_2792;method_43667(Lnet/minecraft/class_7472;)Vnamed onCommandExecutionLnet/minecraft/network/listener/ServerPlayPacketListener;onCommandExecution(Lnet/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket;)V
-
canAcceptMessage
Returns whethermessage, sent attimestamp, should be accepted.- Returns:
- whether
message, sent attimestamp, should be accepted - Implementation Note:
- This returns
falseif the message arrives in improper order or if. This also logs a warning when the message is expired, but the message is still accepted in this case.invalid @linkplain
chat is disabled
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/lang/String;Ljava/time/Instant;)Zintermediary method_44337Lnet/minecraft/class_3244;method_44337(Ljava/lang/String;Ljava/time/Instant;)Znamed canAcceptMessageLnet/minecraft/server/network/ServerPlayNetworkHandler;canAcceptMessage(Ljava/lang/String;Ljava/time/Instant;)Z
-
isExpired
Returns whether the message sent attimestampis expired.If
true, the server logs a warning, but the message will still be accepted.- Returns:
- whether the message sent at
timestampis expired - See Also:
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/time/Instant;)Zintermediary method_44157Lnet/minecraft/class_3244;method_44157(Ljava/time/Instant;)Znamed isExpiredLnet/minecraft/server/network/ServerPlayNetworkHandler;isExpired(Ljava/time/Instant;)Z
-
isInProperOrder
Returns whether the message sent attimestampis received in proper order.If
false, the message will be discarded.- Returns:
- whether the message sent at
timestampis received in proper order - Mappings:
Namespace Name Mixin selector official bLagh;b(Ljava/time/Instant;)Zintermediary method_44160Lnet/minecraft/class_3244;method_44160(Ljava/time/Instant;)Znamed isInProperOrderLnet/minecraft/server/network/ServerPlayNetworkHandler;isInProperOrder(Ljava/time/Instant;)Z
-
hasIllegalCharacter
Returns whethermessagecontains an illegal character.- Returns:
- whether
messagecontains an illegal character - See Also:
- Mappings:
Namespace Name Mixin selector official aLagh;a(Ljava/lang/String;)Zintermediary method_43508Lnet/minecraft/class_3244;method_43508(Ljava/lang/String;)Znamed hasIllegalCharacterLnet/minecraft/server/network/ServerPlayNetworkHandler;hasIllegalCharacter(Ljava/lang/String;)Z
-
checkChatEnabled
private boolean checkChatEnabled()- Mappings:
Namespace Name Mixin selector official gLagh;g()Zintermediary method_43668Lnet/minecraft/class_3244;method_43668()Znamed checkChatEnabledLnet/minecraft/server/network/ServerPlayNetworkHandler;checkChatEnabled()Z
-
handleMessage
- Mappings:
Namespace Name Mixin selector official aLagh;a(Lxb;Lagd;)Vintermediary method_31286Lnet/minecraft/class_3244;method_31286(Lnet/minecraft/class_2797;Lnet/minecraft/class_5837;)Vnamed handleMessageLnet/minecraft/server/network/ServerPlayNetworkHandler;handleMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;Lnet/minecraft/server/filter/FilteredMessage;)V
-
handleDecoratedMessage
- Mappings:
Namespace Name Mixin selector official aLagh;a(Lagd;)Vintermediary method_44155Lnet/minecraft/class_3244;method_44155(Lnet/minecraft/class_5837;)Vnamed handleDecoratedMessageLnet/minecraft/server/network/ServerPlayNetworkHandler;handleDecoratedMessage(Lnet/minecraft/server/filter/FilteredMessage;)V
-
checkForSpam
private void checkForSpam()- Mappings:
Namespace Name Mixin selector official hLagh;h()Vintermediary method_43669Lnet/minecraft/class_3244;method_43669()Vnamed checkForSpamLnet/minecraft/server/network/ServerPlayNetworkHandler;checkForSpam()V
-
onRequestChatPreview
- Specified by:
onRequestChatPreviewin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxc;)Vintermediary method_43931Lnet/minecraft/class_2792;method_43931(Lnet/minecraft/class_7496;)Vnamed onRequestChatPreviewLnet/minecraft/network/listener/ServerPlayPacketListener;onRequestChatPreview(Lnet/minecraft/network/packet/c2s/play/RequestChatPreviewC2SPacket;)V
-
sendChatPreviewPacket
- Mappings:
Namespace Name Mixin selector official aLagh;a(ILrm;)Vintermediary method_44318Lnet/minecraft/class_3244;method_44318(ILnet/minecraft/class_2561;)Vnamed sendChatPreviewPacketLnet/minecraft/server/network/ServerPlayNetworkHandler;sendChatPreviewPacket(ILnet/minecraft/text/Text;)V
-
decorate
- Mappings:
Namespace Name Mixin selector official bLagh;b(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;intermediary method_44159Lnet/minecraft/class_3244;method_44159(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;named decorateLnet/minecraft/server/network/ServerPlayNetworkHandler;decorate(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
decorateChat
- Mappings:
Namespace Name Mixin selector official cLagh;c(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;intermediary method_44161Lnet/minecraft/class_3244;method_44161(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;named decorateChatLnet/minecraft/server/network/ServerPlayNetworkHandler;decorateChat(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
decorateCommand
- Mappings:
Namespace Name Mixin selector official dLagh;d(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;intermediary method_44162Lnet/minecraft/class_3244;method_44162(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;named decorateCommandLnet/minecraft/server/network/ServerPlayNetworkHandler;decorateCommand(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
decorateCommand
private CompletableFuture<Text> decorateCommand(com.mojang.brigadier.context.CommandContextBuilder<ServerCommandSource> builder) - Mappings:
Namespace Name Mixin selector official aLagh;a(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary method_44156Lnet/minecraft/class_3244;method_44156(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;named decorateCommandLnet/minecraft/server/network/ServerPlayNetworkHandler;decorateCommand(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;
-
onHandSwing
- Specified by:
onHandSwingin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyo;)Vintermediary method_12052Lnet/minecraft/class_2792;method_12052(Lnet/minecraft/class_2879;)Vnamed onHandSwingLnet/minecraft/network/listener/ServerPlayPacketListener;onHandSwing(Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;)V
-
onClientCommand
- Specified by:
onClientCommandin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxx;)Vintermediary method_12045Lnet/minecraft/class_2792;method_12045(Lnet/minecraft/class_2848;)Vnamed onClientCommandLnet/minecraft/network/listener/ServerPlayPacketListener;onClientCommand(Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;)V
-
onPlayerInteractEntity
- Specified by:
onPlayerInteractEntityin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxm;)Vintermediary method_12062Lnet/minecraft/class_2792;method_12062(Lnet/minecraft/class_2824;)Vnamed onPlayerInteractEntityLnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractEntity(Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;)V
-
onClientStatus
- Specified by:
onClientStatusin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxd;)Vintermediary method_12068Lnet/minecraft/class_2792;method_12068(Lnet/minecraft/class_2799;)Vnamed onClientStatusLnet/minecraft/network/listener/ServerPlayPacketListener;onClientStatus(Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;)V
-
onCloseHandledScreen
- Specified by:
onCloseHandledScreenin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxi;)Vintermediary method_12054Lnet/minecraft/class_2792;method_12054(Lnet/minecraft/class_2815;)Vnamed onCloseHandledScreenLnet/minecraft/network/listener/ServerPlayPacketListener;onCloseHandledScreen(Lnet/minecraft/network/packet/c2s/play/CloseHandledScreenC2SPacket;)V
-
onClickSlot
- Specified by:
onClickSlotin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxh;)Vintermediary method_12076Lnet/minecraft/class_2792;method_12076(Lnet/minecraft/class_2813;)Vnamed onClickSlotLnet/minecraft/network/listener/ServerPlayPacketListener;onClickSlot(Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;)V
-
onCraftRequest
- Specified by:
onCraftRequestin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxu;)Vintermediary method_12061Lnet/minecraft/class_2792;method_12061(Lnet/minecraft/class_2840;)Vnamed onCraftRequestLnet/minecraft/network/listener/ServerPlayPacketListener;onCraftRequest(Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;)V
-
onButtonClick
- Specified by:
onButtonClickin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxg;)Vintermediary method_12055Lnet/minecraft/class_2792;method_12055(Lnet/minecraft/class_2811;)Vnamed onButtonClickLnet/minecraft/network/listener/ServerPlayPacketListener;onButtonClick(Lnet/minecraft/network/packet/c2s/play/ButtonClickC2SPacket;)V
-
onCreativeInventoryAction
- Specified by:
onCreativeInventoryActionin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyk;)Vintermediary method_12070Lnet/minecraft/class_2792;method_12070(Lnet/minecraft/class_2873;)Vnamed onCreativeInventoryActionLnet/minecraft/network/listener/ServerPlayPacketListener;onCreativeInventoryAction(Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;)V
-
onUpdateSign
- Specified by:
onUpdateSignin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lyn;)Vintermediary method_12071Lnet/minecraft/class_2792;method_12071(Lnet/minecraft/class_2877;)Vnamed onUpdateSignLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSign(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;)V
-
onSignUpdate
- Mappings:
Namespace Name Mixin selector official aLagh;a(Lyn;Ljava/util/List;)Vintermediary method_31282Lnet/minecraft/class_3244;method_31282(Lnet/minecraft/class_2877;Ljava/util/List;)Vnamed onSignUpdateLnet/minecraft/server/network/ServerPlayNetworkHandler;onSignUpdate(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;Ljava/util/List;)V
-
onKeepAlive
- Specified by:
onKeepAlivein interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxo;)Vintermediary method_12082Lnet/minecraft/class_2792;method_12082(Lnet/minecraft/class_2827;)Vnamed onKeepAliveLnet/minecraft/network/listener/ServerPlayPacketListener;onKeepAlive(Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;)V
-
onUpdatePlayerAbilities
- Specified by:
onUpdatePlayerAbilitiesin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxv;)Vintermediary method_12083Lnet/minecraft/class_2792;method_12083(Lnet/minecraft/class_2842;)Vnamed onUpdatePlayerAbilitiesLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdatePlayerAbilities(Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;)V
-
onClientSettings
- Specified by:
onClientSettingsin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxe;)Vintermediary method_12069Lnet/minecraft/class_2792;method_12069(Lnet/minecraft/class_2803;)Vnamed onClientSettingsLnet/minecraft/network/listener/ServerPlayPacketListener;onClientSettings(Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;)V
-
onCustomPayload
- Specified by:
onCustomPayloadin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxj;)Vintermediary method_12075Lnet/minecraft/class_2792;method_12075(Lnet/minecraft/class_2817;)Vnamed onCustomPayloadLnet/minecraft/network/listener/ServerPlayPacketListener;onCustomPayload(Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;)V
-
onUpdateDifficulty
- Specified by:
onUpdateDifficultyin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lwz;)Vintermediary method_19475Lnet/minecraft/class_2792;method_19475(Lnet/minecraft/class_4210;)Vnamed onUpdateDifficultyLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficulty(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;)V
-
onUpdateDifficultyLock
- Specified by:
onUpdateDifficultyLockin interfaceServerPlayPacketListener- Mappings:
Namespace Name Mixin selector official aLwv;a(Lxp;)Vintermediary method_19476Lnet/minecraft/class_2792;method_19476(Lnet/minecraft/class_4211;)Vnamed onUpdateDifficultyLockLnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficultyLock(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;)V
-
getPlayer
- Specified by:
getPlayerin interfaceEntityTrackingListener- Mappings:
Namespace Name Mixin selector official eLagk;e()Lafp;intermediary method_32311Lnet/minecraft/class_5629;method_32311()Lnet/minecraft/class_3222;named getPlayerLnet/minecraft/server/world/EntityTrackingListener;getPlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
-