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 agh
intermediary net/minecraft/class_3244
named net/minecraft/server/network/ServerPlayNetworkHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionfinal ClientConnection
private int
private static final int
private boolean
private int
private static final int
private long
private long
private final AtomicReference<Instant>
private int
private double
private double
private double
private double
private double
private double
(package private) static final org.slf4j.Logger
static final double
private int
private int
private final PendingTaskRunner
private int
private int
private final MinecraftServer
private int
private int
private double
private double
private double
private double
private double
private double
private boolean
private int
private boolean
-
Constructor Summary
ConstructorDescriptionServerPlayNetworkHandler
(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addBook
(FilteredMessage<String> title, List<FilteredMessage<String>> pages, int slotId) private static boolean
canPlace
(ServerPlayerEntity player, ItemStack stack) Checks if a player can place a block or fluid from a bucket.private boolean
private void
private static double
clampHorizontal
(double d) private static double
clampVertical
(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) void
disconnect
(Text reason) private void
filterText
(String text, Consumer<FilteredMessage<String>> consumer) private <T,
R> void filterText
(T text, Consumer<R> consumer, BiFunction<TextStream, T, CompletableFuture<R>> backingFilterer) private void
filterTexts
(List<String> texts, Consumer<List<FilteredMessage<String>>> consumer) Returns the connection this packet listener intends to listen to.private void
private void
handleMessage
(ChatMessageC2SPacket packet, FilteredMessage<String> message) private static boolean
hasIllegalCharacter
(String message) Returns whethermessage
contains an illegal character.private boolean
isDisordered
(Instant timestamp) Returns whether the message sent attimestamp
is received with improper order.private boolean
isEntityOnAir
(Entity entity) private boolean
Returns whether the message sent attimestamp
is expired.private boolean
isHost()
private static boolean
isMovementInvalid
(double x, double y, double z, float yaw, float pitch) Returns whether this movement is invalid.private boolean
isPlayerNotCollidingWithBlocks
(WorldView world, Box box) void
void
void
onBookUpdate
(BookUpdateC2SPacket packet) void
onButtonClick
(ButtonClickC2SPacket packet) void
onChatMessage
(ChatMessageC2SPacket packet) void
onClickSlot
(ClickSlotC2SPacket packet) void
void
void
onClientStatus
(ClientStatusC2SPacket packet) void
void
void
onCraftRequest
(CraftRequestC2SPacket packet) void
void
void
onDisconnected
(Text reason) Called when the connection this listener listens to has disconnected.void
onHandSwing
(HandSwingC2SPacket packet) void
void
onKeepAlive
(KeepAliveC2SPacket packet) void
void
onPlayerAction
(PlayerActionC2SPacket packet) void
onPlayerInput
(PlayerInputC2SPacket packet) void
void
void
void
onPlayerMove
(PlayerMoveC2SPacket packet) void
onPong
(PlayPongC2SPacket packet) void
void
void
void
void
onRenameItem
(RenameItemC2SPacket packet) void
void
void
void
private void
onSignUpdate
(UpdateSignC2SPacket packet, List<FilteredMessage<String>> signText) void
void
void
onUpdateBeacon
(UpdateBeaconC2SPacket packet) void
void
void
void
void
onUpdateJigsaw
(UpdateJigsawC2SPacket packet) void
void
void
onUpdateSign
(UpdateSignC2SPacket packet) void
void
onVehicleMove
(VehicleMoveC2SPacket packet) void
requestTeleport
(double x, double y, double z, float yaw, float pitch) void
requestTeleport
(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags) void
requestTeleport
(double x, double y, double z, float yaw, float pitch, Set<PlayerPositionLookS2CPacket.Flag> flags, boolean shouldDismount) void
requestTeleportAndDismount
(double x, double y, double z, float yaw, float pitch) private void
sendChatPreviewPacket
(int queryId, Text preview) void
sendPacket
(Packet<?> packet) void
sendPacket
(Packet<?> packet, @Nullable GenericFutureListener<? extends Future<? super Void>> listener) private void
setTextToBook
(List<FilteredMessage<String>> messages, UnaryOperator<String> postProcessor, ItemStack book) void
void
tick()
private void
updateBookContent
(List<FilteredMessage<String>> pages, int slotId) void
updateSequence
(int sequence) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.listener.ServerPacketListener
shouldCrashOnException
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official d
Lagh;d:Lorg/slf4j/Logger;
intermediary field_14121
Lnet/minecraft/class_3244;field_14121:Lorg/slf4j/Logger;
named LOGGER
Lnet/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 e
Lagh;e:I
intermediary field_29778
Lnet/minecraft/class_3244;field_29778:I
named KEEP_ALIVE_INTERVAL
Lnet/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 a
Lagh;a:D
intermediary field_37280
Lnet/minecraft/class_3244;field_37280:D
named MAX_BREAK_SQUARED_DISTANCE
Lnet/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 f
Lagh;f:I
intermediary field_37281
Lnet/minecraft/class_3244;field_37281:I
named field_37281
Lnet/minecraft/server/network/ServerPlayNetworkHandler;field_37281:I
-
connection
- Mappings:
Namespace Name Mixin selector official b
Lagh;b:Lqv;
intermediary field_14127
Lnet/minecraft/class_3244;field_14127:Lnet/minecraft/class_2535;
named connection
Lnet/minecraft/server/network/ServerPlayNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
server
- Mappings:
Namespace Name Mixin selector official g
Lagh;g:Lnet/minecraft/server/MinecraftServer;
intermediary field_14148
Lnet/minecraft/class_3244;field_14148:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/network/ServerPlayNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
player
- Mappings:
Namespace Name Mixin selector official c
Lagh;c:Lafp;
intermediary field_14140
Lnet/minecraft/class_3244;field_14140:Lnet/minecraft/class_3222;
named player
Lnet/minecraft/server/network/ServerPlayNetworkHandler;player:Lnet/minecraft/server/network/ServerPlayerEntity;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official h
Lagh;h:I
intermediary field_14118
Lnet/minecraft/class_3244;field_14118:I
named ticks
Lnet/minecraft/server/network/ServerPlayNetworkHandler;ticks:I
-
sequence
private int sequence- Mappings:
Namespace Name Mixin selector official i
Lagh;i:I
intermediary field_37282
Lnet/minecraft/class_3244;field_37282:I
named sequence
Lnet/minecraft/server/network/ServerPlayNetworkHandler;sequence:I
-
lastKeepAliveTime
private long lastKeepAliveTime- Mappings:
Namespace Name Mixin selector official j
Lagh;j:J
intermediary field_14136
Lnet/minecraft/class_3244;field_14136:J
named lastKeepAliveTime
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastKeepAliveTime:J
-
waitingForKeepAlive
private boolean waitingForKeepAlive- Mappings:
Namespace Name Mixin selector official k
Lagh;k:Z
intermediary field_14125
Lnet/minecraft/class_3244;field_14125:Z
named waitingForKeepAlive
Lnet/minecraft/server/network/ServerPlayNetworkHandler;waitingForKeepAlive:Z
-
keepAliveId
private long keepAliveId- Mappings:
Namespace Name Mixin selector official l
Lagh;l:J
intermediary field_14134
Lnet/minecraft/class_3244;field_14134:J
named keepAliveId
Lnet/minecraft/server/network/ServerPlayNetworkHandler;keepAliveId:J
-
messageCooldown
private int messageCooldown- Mappings:
Namespace Name Mixin selector official m
Lagh;m:I
intermediary field_14116
Lnet/minecraft/class_3244;field_14116:I
named messageCooldown
Lnet/minecraft/server/network/ServerPlayNetworkHandler;messageCooldown:I
-
creativeItemDropThreshold
private int creativeItemDropThreshold- Mappings:
Namespace Name Mixin selector official n
Lagh;n:I
intermediary field_14133
Lnet/minecraft/class_3244;field_14133:I
named creativeItemDropThreshold
Lnet/minecraft/server/network/ServerPlayNetworkHandler;creativeItemDropThreshold:I
-
lastTickX
private double lastTickX- Mappings:
Namespace Name Mixin selector official o
Lagh;o:D
intermediary field_14130
Lnet/minecraft/class_3244;field_14130:D
named lastTickX
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickX:D
-
lastTickY
private double lastTickY- Mappings:
Namespace Name Mixin selector official p
Lagh;p:D
intermediary field_14146
Lnet/minecraft/class_3244;field_14146:D
named lastTickY
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickY:D
-
lastTickZ
private double lastTickZ- Mappings:
Namespace Name Mixin selector official q
Lagh;q:D
intermediary field_14128
Lnet/minecraft/class_3244;field_14128:D
named lastTickZ
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickZ:D
-
updatedX
private double updatedX- Mappings:
Namespace Name Mixin selector official r
Lagh;r:D
intermediary field_14145
Lnet/minecraft/class_3244;field_14145:D
named updatedX
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedX:D
-
updatedY
private double updatedY- Mappings:
Namespace Name Mixin selector official s
Lagh;s:D
intermediary field_14126
Lnet/minecraft/class_3244;field_14126:D
named updatedY
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedY:D
-
updatedZ
private double updatedZ- Mappings:
Namespace Name Mixin selector official t
Lagh;t:D
intermediary field_14144
Lnet/minecraft/class_3244;field_14144:D
named updatedZ
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedZ:D
-
topmostRiddenEntity
- Mappings:
Namespace Name Mixin selector official u
Lagh;u:Lbaq;
intermediary field_14147
Lnet/minecraft/class_3244;field_14147:Lnet/minecraft/class_1297;
named topmostRiddenEntity
Lnet/minecraft/server/network/ServerPlayNetworkHandler;topmostRiddenEntity:Lnet/minecraft/entity/Entity;
-
lastTickRiddenX
private double lastTickRiddenX- Mappings:
Namespace Name Mixin selector official v
Lagh;v:D
intermediary field_14143
Lnet/minecraft/class_3244;field_14143:D
named lastTickRiddenX
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenX:D
-
lastTickRiddenY
private double lastTickRiddenY- Mappings:
Namespace Name Mixin selector official w
Lagh;w:D
intermediary field_14124
Lnet/minecraft/class_3244;field_14124:D
named lastTickRiddenY
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenY:D
-
lastTickRiddenZ
private double lastTickRiddenZ- Mappings:
Namespace Name Mixin selector official x
Lagh;x:D
intermediary field_14142
Lnet/minecraft/class_3244;field_14142:D
named lastTickRiddenZ
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickRiddenZ:D
-
updatedRiddenX
private double updatedRiddenX- Mappings:
Namespace Name Mixin selector official y
Lagh;y:D
intermediary field_14122
Lnet/minecraft/class_3244;field_14122:D
named updatedRiddenX
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenX:D
-
updatedRiddenY
private double updatedRiddenY- Mappings:
Namespace Name Mixin selector official z
Lagh;z:D
intermediary field_14141
Lnet/minecraft/class_3244;field_14141:D
named updatedRiddenY
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenY:D
-
updatedRiddenZ
private double updatedRiddenZ- Mappings:
Namespace Name Mixin selector official A
Lagh;A:D
intermediary field_14120
Lnet/minecraft/class_3244;field_14120:D
named updatedRiddenZ
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updatedRiddenZ:D
-
requestedTeleportPos
- Mappings:
Namespace Name Mixin selector official B
Lagh;B:Ldvs;
intermediary field_14119
Lnet/minecraft/class_3244;field_14119:Lnet/minecraft/class_243;
named requestedTeleportPos
Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportPos:Lnet/minecraft/util/math/Vec3d;
-
requestedTeleportId
private int requestedTeleportId- Mappings:
Namespace Name Mixin selector official C
Lagh;C:I
intermediary field_14123
Lnet/minecraft/class_3244;field_14123:I
named requestedTeleportId
Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestedTeleportId:I
-
teleportRequestTick
private int teleportRequestTick- Mappings:
Namespace Name Mixin selector official D
Lagh;D:I
intermediary field_14139
Lnet/minecraft/class_3244;field_14139:I
named teleportRequestTick
Lnet/minecraft/server/network/ServerPlayNetworkHandler;teleportRequestTick:I
-
floating
private boolean floating- Mappings:
Namespace Name Mixin selector official E
Lagh;E:Z
intermediary field_14131
Lnet/minecraft/class_3244;field_14131:Z
named floating
Lnet/minecraft/server/network/ServerPlayNetworkHandler;floating:Z
-
floatingTicks
private int floatingTicks- Mappings:
Namespace Name Mixin selector official F
Lagh;F:I
intermediary field_14138
Lnet/minecraft/class_3244;field_14138:I
named floatingTicks
Lnet/minecraft/server/network/ServerPlayNetworkHandler;floatingTicks:I
-
vehicleFloating
private boolean vehicleFloating- Mappings:
Namespace Name Mixin selector official G
Lagh;G:Z
intermediary field_14129
Lnet/minecraft/class_3244;field_14129:Z
named vehicleFloating
Lnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloating:Z
-
vehicleFloatingTicks
private int vehicleFloatingTicks- Mappings:
Namespace Name Mixin selector official H
Lagh;H:I
intermediary field_14137
Lnet/minecraft/class_3244;field_14137:I
named vehicleFloatingTicks
Lnet/minecraft/server/network/ServerPlayNetworkHandler;vehicleFloatingTicks:I
-
movePacketsCount
private int movePacketsCount- Mappings:
Namespace Name Mixin selector official I
Lagh;I:I
intermediary field_14117
Lnet/minecraft/class_3244;field_14117:I
named movePacketsCount
Lnet/minecraft/server/network/ServerPlayNetworkHandler;movePacketsCount:I
-
lastTickMovePacketsCount
private int lastTickMovePacketsCount- Mappings:
Namespace Name Mixin selector official J
Lagh;J:I
intermediary field_14135
Lnet/minecraft/class_3244;field_14135:I
named lastTickMovePacketsCount
Lnet/minecraft/server/network/ServerPlayNetworkHandler;lastTickMovePacketsCount:I
-
previewTaskRunner
- Mappings:
Namespace Name Mixin selector official K
Lagh;K:Lrh;
intermediary field_39261
Lnet/minecraft/class_3244;field_39261:Lnet/minecraft/class_7493;
named previewTaskRunner
Lnet/minecraft/server/network/ServerPlayNetworkHandler;previewTaskRunner:Lnet/minecraft/util/PendingTaskRunner;
-
lastMessageTimestamp
- Mappings:
Namespace Name Mixin selector official L
Lagh;L:Ljava/util/concurrent/atomic/AtomicReference;
intermediary field_39394
Lnet/minecraft/class_3244;field_39394:Ljava/util/concurrent/atomic/AtomicReference;
named lastMessageTimestamp
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_3244;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lnet/minecraft/class_3222;)V
named <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 c
Lagh;c()V
intermediary method_18784
Lnet/minecraft/class_3244;method_18784()V
named tick
Lnet/minecraft/server/network/ServerPlayNetworkHandler;tick()V
-
syncWithPlayerPosition
public void syncWithPlayerPosition()- Mappings:
Namespace Name Mixin selector official d
Lagh;d()V
intermediary method_14372
Lnet/minecraft/class_3244;method_14372()V
named syncWithPlayerPosition
Lnet/minecraft/server/network/ServerPlayNetworkHandler;syncWithPlayerPosition()V
-
getConnection
Returns the connection this packet listener intends to listen to.- Specified by:
getConnection
in interfacePacketListener
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lra;a()Lqv;
intermediary method_2872
Lnet/minecraft/class_2547;method_2872()Lnet/minecraft/class_2535;
named getConnection
Lnet/minecraft/network/listener/PacketListener;getConnection()Lnet/minecraft/network/ClientConnection;
-
isHost
private boolean isHost()- Mappings:
Namespace Name Mixin selector official f
Lagh;f()Z
intermediary method_19507
Lnet/minecraft/class_3244;method_19507()Z
named isHost
Lnet/minecraft/server/network/ServerPlayNetworkHandler;isHost()Z
-
disconnect
- Mappings:
Namespace Name Mixin selector official b
Lagh;b(Lrm;)V
intermediary method_14367
Lnet/minecraft/class_3244;method_14367(Lnet/minecraft/class_2561;)V
named disconnect
Lnet/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 a
Lagh;a(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)V
intermediary method_31275
Lnet/minecraft/class_3244;method_31275(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)V
named filterText
Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/Object;Ljava/util/function/Consumer;Ljava/util/function/BiFunction;)V
-
filterText
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Ljava/lang/String;Ljava/util/function/Consumer;)V
intermediary method_31277
Lnet/minecraft/class_3244;method_31277(Ljava/lang/String;Ljava/util/function/Consumer;)V
named filterText
Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterText(Ljava/lang/String;Ljava/util/function/Consumer;)V
-
filterTexts
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Ljava/util/List;Ljava/util/function/Consumer;)V
intermediary method_31279
Lnet/minecraft/class_3244;method_31279(Ljava/util/List;Ljava/util/function/Consumer;)V
named filterTexts
Lnet/minecraft/server/network/ServerPlayNetworkHandler;filterTexts(Ljava/util/List;Ljava/util/function/Consumer;)V
-
onPlayerInput
- Specified by:
onPlayerInput
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxy;)V
intermediary method_12067
Lnet/minecraft/class_2792;method_12067(Lnet/minecraft/class_2851;)V
named onPlayerInput
Lnet/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 c
Lagh;c(DDDFF)Z
intermediary method_14371
Lnet/minecraft/class_3244;method_14371(DDDFF)Z
named isMovementInvalid
Lnet/minecraft/server/network/ServerPlayNetworkHandler;isMovementInvalid(DDDFF)Z
-
clampHorizontal
private static double clampHorizontal(double d) - Mappings:
Namespace Name Mixin selector official a
Lagh;a(D)D
intermediary method_34882
Lnet/minecraft/class_3244;method_34882(D)D
named clampHorizontal
Lnet/minecraft/server/network/ServerPlayNetworkHandler;clampHorizontal(D)D
-
clampVertical
private static double clampVertical(double d) - Mappings:
Namespace Name Mixin selector official b
Lagh;b(D)D
intermediary method_34883
Lnet/minecraft/class_3244;method_34883(D)D
named clampVertical
Lnet/minecraft/server/network/ServerPlayNetworkHandler;clampVertical(D)D
-
onVehicleMove
- Specified by:
onVehicleMove
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxr;)V
intermediary method_12078
Lnet/minecraft/class_2792;method_12078(Lnet/minecraft/class_2833;)V
named onVehicleMove
Lnet/minecraft/network/listener/ServerPlayPacketListener;onVehicleMove(Lnet/minecraft/network/packet/c2s/play/VehicleMoveC2SPacket;)V
-
isEntityOnAir
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Lbaq;)Z
intermediary method_29780
Lnet/minecraft/class_3244;method_29780(Lnet/minecraft/class_1297;)Z
named isEntityOnAir
Lnet/minecraft/server/network/ServerPlayNetworkHandler;isEntityOnAir(Lnet/minecraft/entity/Entity;)Z
-
onTeleportConfirm
- Specified by:
onTeleportConfirm
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lwx;)V
intermediary method_12050
Lnet/minecraft/class_2792;method_12050(Lnet/minecraft/class_2793;)V
named onTeleportConfirm
Lnet/minecraft/network/listener/ServerPlayPacketListener;onTeleportConfirm(Lnet/minecraft/network/packet/c2s/play/TeleportConfirmC2SPacket;)V
-
onRecipeBookData
- Specified by:
onRecipeBookData
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyb;)V
intermediary method_12047
Lnet/minecraft/class_2792;method_12047(Lnet/minecraft/class_2853;)V
named onRecipeBookData
Lnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeBookData(Lnet/minecraft/network/packet/c2s/play/RecipeBookDataC2SPacket;)V
-
onRecipeCategoryOptions
- Specified by:
onRecipeCategoryOptions
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lya;)V
intermediary method_30303
Lnet/minecraft/class_2792;method_30303(Lnet/minecraft/class_5427;)V
named onRecipeCategoryOptions
Lnet/minecraft/network/listener/ServerPlayPacketListener;onRecipeCategoryOptions(Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;)V
-
onAdvancementTab
- Specified by:
onAdvancementTab
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lye;)V
intermediary method_12058
Lnet/minecraft/class_2792;method_12058(Lnet/minecraft/class_2859;)V
named onAdvancementTab
Lnet/minecraft/network/listener/ServerPlayPacketListener;onAdvancementTab(Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;)V
-
onRequestCommandCompletions
- Specified by:
onRequestCommandCompletions
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxf;)V
intermediary method_12059
Lnet/minecraft/class_2792;method_12059(Lnet/minecraft/class_2805;)V
named onRequestCommandCompletions
Lnet/minecraft/network/listener/ServerPlayPacketListener;onRequestCommandCompletions(Lnet/minecraft/network/packet/c2s/play/RequestCommandCompletionsC2SPacket;)V
-
onUpdateCommandBlock
- Specified by:
onUpdateCommandBlock
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyi;)V
intermediary method_12077
Lnet/minecraft/class_2792;method_12077(Lnet/minecraft/class_2870;)V
named onUpdateCommandBlock
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlock(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockC2SPacket;)V
-
onUpdateCommandBlockMinecart
- Specified by:
onUpdateCommandBlockMinecart
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyj;)V
intermediary method_12049
Lnet/minecraft/class_2792;method_12049(Lnet/minecraft/class_2871;)V
named onUpdateCommandBlockMinecart
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateCommandBlockMinecart(Lnet/minecraft/network/packet/c2s/play/UpdateCommandBlockMinecartC2SPacket;)V
-
onPickFromInventory
- Specified by:
onPickFromInventory
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxt;)V
intermediary method_12084
Lnet/minecraft/class_2792;method_12084(Lnet/minecraft/class_2838;)V
named onPickFromInventory
Lnet/minecraft/network/listener/ServerPlayPacketListener;onPickFromInventory(Lnet/minecraft/network/packet/c2s/play/PickFromInventoryC2SPacket;)V
-
onRenameItem
- Specified by:
onRenameItem
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyc;)V
intermediary method_12060
Lnet/minecraft/class_2792;method_12060(Lnet/minecraft/class_2855;)V
named onRenameItem
Lnet/minecraft/network/listener/ServerPlayPacketListener;onRenameItem(Lnet/minecraft/network/packet/c2s/play/RenameItemC2SPacket;)V
-
onUpdateBeacon
- Specified by:
onUpdateBeacon
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyg;)V
intermediary method_12057
Lnet/minecraft/class_2792;method_12057(Lnet/minecraft/class_2866;)V
named onUpdateBeacon
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateBeacon(Lnet/minecraft/network/packet/c2s/play/UpdateBeaconC2SPacket;)V
-
onUpdateStructureBlock
- Specified by:
onUpdateStructureBlock
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lym;)V
intermediary method_12051
Lnet/minecraft/class_2792;method_12051(Lnet/minecraft/class_2875;)V
named onUpdateStructureBlock
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateStructureBlock(Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;)V
-
onUpdateJigsaw
- Specified by:
onUpdateJigsaw
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyl;)V
intermediary method_16383
Lnet/minecraft/class_2792;method_16383(Lnet/minecraft/class_3753;)V
named onUpdateJigsaw
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateJigsaw(Lnet/minecraft/network/packet/c2s/play/UpdateJigsawC2SPacket;)V
-
onJigsawGenerating
- Specified by:
onJigsawGenerating
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxn;)V
intermediary method_27273
Lnet/minecraft/class_2792;method_27273(Lnet/minecraft/class_5194;)V
named onJigsawGenerating
Lnet/minecraft/network/listener/ServerPlayPacketListener;onJigsawGenerating(Lnet/minecraft/network/packet/c2s/play/JigsawGeneratingC2SPacket;)V
-
onSelectMerchantTrade
- Specified by:
onSelectMerchantTrade
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyf;)V
intermediary method_12080
Lnet/minecraft/class_2792;method_12080(Lnet/minecraft/class_2863;)V
named onSelectMerchantTrade
Lnet/minecraft/network/listener/ServerPlayPacketListener;onSelectMerchantTrade(Lnet/minecraft/network/packet/c2s/play/SelectMerchantTradeC2SPacket;)V
-
onBookUpdate
- Specified by:
onBookUpdate
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxk;)V
intermediary method_12053
Lnet/minecraft/class_2792;method_12053(Lnet/minecraft/class_2820;)V
named onBookUpdate
Lnet/minecraft/network/listener/ServerPlayPacketListener;onBookUpdate(Lnet/minecraft/network/packet/c2s/play/BookUpdateC2SPacket;)V
-
updateBookContent
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Ljava/util/List;I)V
intermediary method_31278
Lnet/minecraft/class_3244;method_31278(Ljava/util/List;I)V
named updateBookContent
Lnet/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 a
Lagh;a(Lagd;Ljava/util/List;I)V
intermediary method_31276
Lnet/minecraft/class_3244;method_31276(Lnet/minecraft/class_5837;Ljava/util/List;I)V
named addBook
Lnet/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 a
Lagh;a(Ljava/util/List;Ljava/util/function/UnaryOperator;Lcaa;)V
intermediary method_33796
Lnet/minecraft/class_3244;method_33796(Ljava/util/List;Ljava/util/function/UnaryOperator;Lnet/minecraft/class_1799;)V
named setTextToBook
Lnet/minecraft/server/network/ServerPlayNetworkHandler;setTextToBook(Ljava/util/List;Ljava/util/function/UnaryOperator;Lnet/minecraft/item/ItemStack;)V
-
onQueryEntityNbt
- Specified by:
onQueryEntityNbt
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxl;)V
intermediary method_12074
Lnet/minecraft/class_2792;method_12074(Lnet/minecraft/class_2822;)V
named onQueryEntityNbt
Lnet/minecraft/network/listener/ServerPlayPacketListener;onQueryEntityNbt(Lnet/minecraft/network/packet/c2s/play/QueryEntityNbtC2SPacket;)V
-
onQueryBlockNbt
- Specified by:
onQueryBlockNbt
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lwy;)V
intermediary method_12072
Lnet/minecraft/class_2792;method_12072(Lnet/minecraft/class_2795;)V
named onQueryBlockNbt
Lnet/minecraft/network/listener/ServerPlayPacketListener;onQueryBlockNbt(Lnet/minecraft/network/packet/c2s/play/QueryBlockNbtC2SPacket;)V
-
onPlayerMove
- Specified by:
onPlayerMove
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxq;)V
intermediary method_12063
Lnet/minecraft/class_2792;method_12063(Lnet/minecraft/class_2828;)V
named onPlayerMove
Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerMove(Lnet/minecraft/network/packet/c2s/play/PlayerMoveC2SPacket;)V
-
isPlayerNotCollidingWithBlocks
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Lcgd;Ldvn;)Z
intermediary method_20630
Lnet/minecraft/class_3244;method_20630(Lnet/minecraft/class_4538;Lnet/minecraft/class_238;)Z
named isPlayerNotCollidingWithBlocks
Lnet/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 a
Lagh;a(DDDFF)V
intermediary method_33562
Lnet/minecraft/class_3244;method_33562(DDDFF)V
named requestTeleportAndDismount
Lnet/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 b
Lagh;b(DDDFF)V
intermediary method_14363
Lnet/minecraft/class_3244;method_14363(DDDFF)V
named requestTeleport
Lnet/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 a
Lagh;a(DDDFFLjava/util/Set;)V
intermediary method_14360
Lnet/minecraft/class_3244;method_14360(DDDFFLjava/util/Set;)V
named requestTeleport
Lnet/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 a
Lagh;a(DDDFFLjava/util/Set;Z)V
intermediary method_33563
Lnet/minecraft/class_3244;method_33563(DDDFFLjava/util/Set;Z)V
named requestTeleport
Lnet/minecraft/server/network/ServerPlayNetworkHandler;requestTeleport(DDDFFLjava/util/Set;Z)V
-
onPlayerAction
- Specified by:
onPlayerAction
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxw;)V
intermediary method_12066
Lnet/minecraft/class_2792;method_12066(Lnet/minecraft/class_2846;)V
named onPlayerAction
Lnet/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 a
Lagh;a(Lafp;Lcaa;)Z
intermediary method_27913
Lnet/minecraft/class_3244;method_27913(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;)Z
named canPlace
Lnet/minecraft/server/network/ServerPlayNetworkHandler;canPlace(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;)Z
-
onPlayerInteractBlock
- Specified by:
onPlayerInteractBlock
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyq;)V
intermediary method_12046
Lnet/minecraft/class_2792;method_12046(Lnet/minecraft/class_2885;)V
named onPlayerInteractBlock
Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractBlock(Lnet/minecraft/network/packet/c2s/play/PlayerInteractBlockC2SPacket;)V
-
onPlayerInteractItem
- Specified by:
onPlayerInteractItem
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyr;)V
intermediary method_12065
Lnet/minecraft/class_2792;method_12065(Lnet/minecraft/class_2886;)V
named onPlayerInteractItem
Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractItem(Lnet/minecraft/network/packet/c2s/play/PlayerInteractItemC2SPacket;)V
-
onSpectatorTeleport
- Specified by:
onSpectatorTeleport
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyp;)V
intermediary method_12073
Lnet/minecraft/class_2792;method_12073(Lnet/minecraft/class_2884;)V
named onSpectatorTeleport
Lnet/minecraft/network/listener/ServerPlayPacketListener;onSpectatorTeleport(Lnet/minecraft/network/packet/c2s/play/SpectatorTeleportC2SPacket;)V
-
onResourcePackStatus
- Specified by:
onResourcePackStatus
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyd;)V
intermediary method_12081
Lnet/minecraft/class_2792;method_12081(Lnet/minecraft/class_2856;)V
named onResourcePackStatus
Lnet/minecraft/network/listener/ServerPlayPacketListener;onResourcePackStatus(Lnet/minecraft/network/packet/c2s/play/ResourcePackStatusC2SPacket;)V
-
onBoatPaddleState
- Specified by:
onBoatPaddleState
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxs;)V
intermediary method_12064
Lnet/minecraft/class_2792;method_12064(Lnet/minecraft/class_2836;)V
named onBoatPaddleState
Lnet/minecraft/network/listener/ServerPlayPacketListener;onBoatPaddleState(Lnet/minecraft/network/packet/c2s/play/BoatPaddleStateC2SPacket;)V
-
onPong
- Specified by:
onPong
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxz;)V
intermediary method_36580
Lnet/minecraft/class_2792;method_36580(Lnet/minecraft/class_6374;)V
named onPong
Lnet/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:
onDisconnected
in interfacePacketListener
- Parameters:
reason
- the reason of disconnection; may be a generic message- Mappings:
Namespace Name Mixin selector official a
Lra;a(Lrm;)V
intermediary method_10839
Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)V
named onDisconnected
Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
updateSequence
public void updateSequence(int sequence) - Mappings:
Namespace Name Mixin selector official a
Lagh;a(I)V
intermediary method_41255
Lnet/minecraft/class_3244;method_41255(I)V
named updateSequence
Lnet/minecraft/server/network/ServerPlayNetworkHandler;updateSequence(I)V
-
sendPacket
- Specified by:
sendPacket
in interfaceEntityTrackingListener
- Mappings:
Namespace Name Mixin selector official a
Lagk;a(Lso;)V
intermediary method_14364
Lnet/minecraft/class_5629;method_14364(Lnet/minecraft/class_2596;)V
named sendPacket
Lnet/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 a
Lagh;a(Lso;Lio/netty/util/concurrent/GenericFutureListener;)V
intermediary method_14369
Lnet/minecraft/class_3244;method_14369(Lnet/minecraft/class_2596;Lio/netty/util/concurrent/GenericFutureListener;)V
named sendPacket
Lnet/minecraft/server/network/ServerPlayNetworkHandler;sendPacket(Lnet/minecraft/network/Packet;Lio/netty/util/concurrent/GenericFutureListener;)V
-
onUpdateSelectedSlot
- Specified by:
onUpdateSelectedSlot
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyh;)V
intermediary method_12056
Lnet/minecraft/class_2792;method_12056(Lnet/minecraft/class_2868;)V
named onUpdateSelectedSlot
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSelectedSlot(Lnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;)V
-
onChatMessage
- Specified by:
onChatMessage
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxb;)V
intermediary method_12048
Lnet/minecraft/class_2792;method_12048(Lnet/minecraft/class_2797;)V
named onChatMessage
Lnet/minecraft/network/listener/ServerPlayPacketListener;onChatMessage(Lnet/minecraft/network/packet/c2s/play/ChatMessageC2SPacket;)V
-
onCommandExecution
- Specified by:
onCommandExecution
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxa;)V
intermediary method_43667
Lnet/minecraft/class_2792;method_43667(Lnet/minecraft/class_7472;)V
named onCommandExecution
Lnet/minecraft/network/listener/ServerPlayPacketListener;onCommandExecution(Lnet/minecraft/network/packet/c2s/play/CommandExecutionC2SPacket;)V
-
isExpired
Returns whether the message sent attimestamp
is expired.If
true
, the message will be discarded.- Returns:
- whether the message sent at
timestamp
is expired - See Also:
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Ljava/time/Instant;)Z
intermediary method_44157
Lnet/minecraft/class_3244;method_44157(Ljava/time/Instant;)Z
named isExpired
Lnet/minecraft/server/network/ServerPlayNetworkHandler;isExpired(Ljava/time/Instant;)Z
-
isDisordered
Returns whether the message sent attimestamp
is received with improper order.If
true
, the message will be discarded.- Returns:
- whether the message sent at
timestamp
is received with improper order - Mappings:
Namespace Name Mixin selector official b
Lagh;b(Ljava/time/Instant;)Z
intermediary method_44160
Lnet/minecraft/class_3244;method_44160(Ljava/time/Instant;)Z
named isDisordered
Lnet/minecraft/server/network/ServerPlayNetworkHandler;isDisordered(Ljava/time/Instant;)Z
-
hasIllegalCharacter
Returns whethermessage
contains an illegal character.- Returns:
- whether
message
contains an illegal character - See Also:
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Ljava/lang/String;)Z
intermediary method_43508
Lnet/minecraft/class_3244;method_43508(Ljava/lang/String;)Z
named hasIllegalCharacter
Lnet/minecraft/server/network/ServerPlayNetworkHandler;hasIllegalCharacter(Ljava/lang/String;)Z
-
checkChatEnabled
private boolean checkChatEnabled()- Mappings:
Namespace Name Mixin selector official g
Lagh;g()Z
intermediary method_43668
Lnet/minecraft/class_3244;method_43668()Z
named checkChatEnabled
Lnet/minecraft/server/network/ServerPlayNetworkHandler;checkChatEnabled()Z
-
handleMessage
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Lxb;Lagd;)V
intermediary method_31286
Lnet/minecraft/class_3244;method_31286(Lnet/minecraft/class_2797;Lnet/minecraft/class_5837;)V
named handleMessage
Lnet/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 a
Lagh;a(Lagd;)V
intermediary method_44155
Lnet/minecraft/class_3244;method_44155(Lnet/minecraft/class_5837;)V
named handleDecoratedMessage
Lnet/minecraft/server/network/ServerPlayNetworkHandler;handleDecoratedMessage(Lnet/minecraft/server/filter/FilteredMessage;)V
-
checkForSpam
private void checkForSpam()- Mappings:
Namespace Name Mixin selector official h
Lagh;h()V
intermediary method_43669
Lnet/minecraft/class_3244;method_43669()V
named checkForSpam
Lnet/minecraft/server/network/ServerPlayNetworkHandler;checkForSpam()V
-
onRequestChatPreview
- Specified by:
onRequestChatPreview
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxc;)V
intermediary method_43931
Lnet/minecraft/class_2792;method_43931(Lnet/minecraft/class_7496;)V
named onRequestChatPreview
Lnet/minecraft/network/listener/ServerPlayPacketListener;onRequestChatPreview(Lnet/minecraft/network/packet/c2s/play/RequestChatPreviewC2SPacket;)V
-
sendChatPreviewPacket
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(ILrm;)V
intermediary method_44318
Lnet/minecraft/class_3244;method_44318(ILnet/minecraft/class_2561;)V
named sendChatPreviewPacket
Lnet/minecraft/server/network/ServerPlayNetworkHandler;sendChatPreviewPacket(ILnet/minecraft/text/Text;)V
-
decorate
- Mappings:
Namespace Name Mixin selector official b
Lagh;b(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
intermediary method_44159
Lnet/minecraft/class_3244;method_44159(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
named decorate
Lnet/minecraft/server/network/ServerPlayNetworkHandler;decorate(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
decorateChat
- Mappings:
Namespace Name Mixin selector official c
Lagh;c(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
intermediary method_44161
Lnet/minecraft/class_3244;method_44161(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
named decorateChat
Lnet/minecraft/server/network/ServerPlayNetworkHandler;decorateChat(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
decorateCommand
- Mappings:
Namespace Name Mixin selector official d
Lagh;d(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
intermediary method_44162
Lnet/minecraft/class_3244;method_44162(Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
named decorateCommand
Lnet/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 a
Lagh;a(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_44156
Lnet/minecraft/class_3244;method_44156(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;
named decorateCommand
Lnet/minecraft/server/network/ServerPlayNetworkHandler;decorateCommand(Lcom/mojang/brigadier/context/CommandContextBuilder;)Ljava/util/concurrent/CompletableFuture;
-
onHandSwing
- Specified by:
onHandSwing
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyo;)V
intermediary method_12052
Lnet/minecraft/class_2792;method_12052(Lnet/minecraft/class_2879;)V
named onHandSwing
Lnet/minecraft/network/listener/ServerPlayPacketListener;onHandSwing(Lnet/minecraft/network/packet/c2s/play/HandSwingC2SPacket;)V
-
onClientCommand
- Specified by:
onClientCommand
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxx;)V
intermediary method_12045
Lnet/minecraft/class_2792;method_12045(Lnet/minecraft/class_2848;)V
named onClientCommand
Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientCommand(Lnet/minecraft/network/packet/c2s/play/ClientCommandC2SPacket;)V
-
onPlayerInteractEntity
- Specified by:
onPlayerInteractEntity
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxm;)V
intermediary method_12062
Lnet/minecraft/class_2792;method_12062(Lnet/minecraft/class_2824;)V
named onPlayerInteractEntity
Lnet/minecraft/network/listener/ServerPlayPacketListener;onPlayerInteractEntity(Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket;)V
-
onClientStatus
- Specified by:
onClientStatus
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxd;)V
intermediary method_12068
Lnet/minecraft/class_2792;method_12068(Lnet/minecraft/class_2799;)V
named onClientStatus
Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientStatus(Lnet/minecraft/network/packet/c2s/play/ClientStatusC2SPacket;)V
-
onCloseHandledScreen
- Specified by:
onCloseHandledScreen
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxi;)V
intermediary method_12054
Lnet/minecraft/class_2792;method_12054(Lnet/minecraft/class_2815;)V
named onCloseHandledScreen
Lnet/minecraft/network/listener/ServerPlayPacketListener;onCloseHandledScreen(Lnet/minecraft/network/packet/c2s/play/CloseHandledScreenC2SPacket;)V
-
onClickSlot
- Specified by:
onClickSlot
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxh;)V
intermediary method_12076
Lnet/minecraft/class_2792;method_12076(Lnet/minecraft/class_2813;)V
named onClickSlot
Lnet/minecraft/network/listener/ServerPlayPacketListener;onClickSlot(Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;)V
-
onCraftRequest
- Specified by:
onCraftRequest
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxu;)V
intermediary method_12061
Lnet/minecraft/class_2792;method_12061(Lnet/minecraft/class_2840;)V
named onCraftRequest
Lnet/minecraft/network/listener/ServerPlayPacketListener;onCraftRequest(Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;)V
-
onButtonClick
- Specified by:
onButtonClick
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxg;)V
intermediary method_12055
Lnet/minecraft/class_2792;method_12055(Lnet/minecraft/class_2811;)V
named onButtonClick
Lnet/minecraft/network/listener/ServerPlayPacketListener;onButtonClick(Lnet/minecraft/network/packet/c2s/play/ButtonClickC2SPacket;)V
-
onCreativeInventoryAction
- Specified by:
onCreativeInventoryAction
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyk;)V
intermediary method_12070
Lnet/minecraft/class_2792;method_12070(Lnet/minecraft/class_2873;)V
named onCreativeInventoryAction
Lnet/minecraft/network/listener/ServerPlayPacketListener;onCreativeInventoryAction(Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;)V
-
onUpdateSign
- Specified by:
onUpdateSign
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lyn;)V
intermediary method_12071
Lnet/minecraft/class_2792;method_12071(Lnet/minecraft/class_2877;)V
named onUpdateSign
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateSign(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;)V
-
onSignUpdate
- Mappings:
Namespace Name Mixin selector official a
Lagh;a(Lyn;Ljava/util/List;)V
intermediary method_31282
Lnet/minecraft/class_3244;method_31282(Lnet/minecraft/class_2877;Ljava/util/List;)V
named onSignUpdate
Lnet/minecraft/server/network/ServerPlayNetworkHandler;onSignUpdate(Lnet/minecraft/network/packet/c2s/play/UpdateSignC2SPacket;Ljava/util/List;)V
-
onKeepAlive
- Specified by:
onKeepAlive
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxo;)V
intermediary method_12082
Lnet/minecraft/class_2792;method_12082(Lnet/minecraft/class_2827;)V
named onKeepAlive
Lnet/minecraft/network/listener/ServerPlayPacketListener;onKeepAlive(Lnet/minecraft/network/packet/c2s/play/KeepAliveC2SPacket;)V
-
onUpdatePlayerAbilities
- Specified by:
onUpdatePlayerAbilities
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxv;)V
intermediary method_12083
Lnet/minecraft/class_2792;method_12083(Lnet/minecraft/class_2842;)V
named onUpdatePlayerAbilities
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdatePlayerAbilities(Lnet/minecraft/network/packet/c2s/play/UpdatePlayerAbilitiesC2SPacket;)V
-
onClientSettings
- Specified by:
onClientSettings
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxe;)V
intermediary method_12069
Lnet/minecraft/class_2792;method_12069(Lnet/minecraft/class_2803;)V
named onClientSettings
Lnet/minecraft/network/listener/ServerPlayPacketListener;onClientSettings(Lnet/minecraft/network/packet/c2s/play/ClientSettingsC2SPacket;)V
-
onCustomPayload
- Specified by:
onCustomPayload
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxj;)V
intermediary method_12075
Lnet/minecraft/class_2792;method_12075(Lnet/minecraft/class_2817;)V
named onCustomPayload
Lnet/minecraft/network/listener/ServerPlayPacketListener;onCustomPayload(Lnet/minecraft/network/packet/c2s/play/CustomPayloadC2SPacket;)V
-
onUpdateDifficulty
- Specified by:
onUpdateDifficulty
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lwz;)V
intermediary method_19475
Lnet/minecraft/class_2792;method_19475(Lnet/minecraft/class_4210;)V
named onUpdateDifficulty
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficulty(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyC2SPacket;)V
-
onUpdateDifficultyLock
- Specified by:
onUpdateDifficultyLock
in interfaceServerPlayPacketListener
- Mappings:
Namespace Name Mixin selector official a
Lwv;a(Lxp;)V
intermediary method_19476
Lnet/minecraft/class_2792;method_19476(Lnet/minecraft/class_4211;)V
named onUpdateDifficultyLock
Lnet/minecraft/network/listener/ServerPlayPacketListener;onUpdateDifficultyLock(Lnet/minecraft/network/packet/c2s/play/UpdateDifficultyLockC2SPacket;)V
-
getPlayer
- Specified by:
getPlayer
in interfaceEntityTrackingListener
- Mappings:
Namespace Name Mixin selector official e
Lagk;e()Lafp;
intermediary method_32311
Lnet/minecraft/class_5629;method_32311()Lnet/minecraft/class_3222;
named getPlayer
Lnet/minecraft/server/world/EntityTrackingListener;getPlayer()Lnet/minecraft/server/network/ServerPlayerEntity;
-