mirror of https://github.com/FabricMC/yarn.git
257 lines
11 KiB
Plaintext
257 lines
11 KiB
Plaintext
CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
|
|
FIELD field_13963 lastHealthScore F
|
|
FIELD field_13964 disconnected Z
|
|
FIELD field_13965 lastLevelScore I
|
|
FIELD field_13966 statHandler Lnet/minecraft/class_3442;
|
|
FIELD field_13967 pingMilliseconds I
|
|
FIELD field_13968 lastAirScore I
|
|
FIELD field_13969 seenCredits Z
|
|
FIELD field_13970 advancementTracker Lnet/minecraft/class_2985;
|
|
FIELD field_13971 clientChatColorsEnabled Z
|
|
FIELD field_13972 syncedSaturationIsZero Z
|
|
FIELD field_13973 levitationStartTick I
|
|
FIELD field_13974 interactionManager Lnet/minecraft/class_3225;
|
|
FIELD field_13975 LOGGER Lorg/slf4j/Logger;
|
|
FIELD field_13976 lastActionTime J
|
|
FIELD field_13978 syncedExperience I
|
|
FIELD field_13979 syncedFoodLevel I
|
|
FIELD field_13980 lastExperienceScore I
|
|
FIELD field_13982 lastArmorScore I
|
|
FIELD field_13983 lastFoodScore I
|
|
FIELD field_13984 cameraEntity Lnet/minecraft/class_1297;
|
|
FIELD field_13985 inTeleportationState Z
|
|
FIELD field_13986 screenHandlerSyncId I
|
|
FIELD field_13987 networkHandler Lnet/minecraft/class_3244;
|
|
FIELD field_13989 notInAnyWorld Z
|
|
FIELD field_13990 watchedSection Lnet/minecraft/class_4076;
|
|
COMMENT A chunk section position indicating where the player's client is currently
|
|
COMMENT watching chunks from. Used referentially for the game to update the chunks
|
|
COMMENT watched by this player.
|
|
COMMENT
|
|
COMMENT @see #getWatchedSection()
|
|
COMMENT @see #setWatchedSection(ChunkSectionPos)
|
|
FIELD field_13992 levitationStartPos Lnet/minecraft/class_243;
|
|
FIELD field_13993 clientChatVisibility Lnet/minecraft/class_1659;
|
|
FIELD field_13994 enteredNetherPos Lnet/minecraft/class_243;
|
|
FIELD field_13995 server Lnet/minecraft/server/MinecraftServer;
|
|
FIELD field_13996 recipeBook Lnet/minecraft/class_3441;
|
|
FIELD field_13997 syncedHealth F
|
|
FIELD field_13998 joinInvulnerabilityTicks I
|
|
FIELD field_23191 spawnPointDimension Lnet/minecraft/class_5321;
|
|
FIELD field_23192 spawnPointPosition Lnet/minecraft/class_2338;
|
|
FIELD field_23193 spawnForced Z
|
|
FIELD field_26353 spawnAngle F
|
|
FIELD field_26821 textStream Lnet/minecraft/class_5513;
|
|
FIELD field_28860 filterText Z
|
|
FIELD field_29180 screenHandlerSyncHandler Lnet/minecraft/class_5916;
|
|
FIELD field_29181 screenHandlerListener Lnet/minecraft/class_1712;
|
|
FIELD field_35007 fallStartPos Lnet/minecraft/class_243;
|
|
FIELD field_35008 vehicleInLavaRidingPos Lnet/minecraft/class_243;
|
|
FIELD field_35566 allowServerListing Z
|
|
FIELD field_39985 sculkShriekerWarningManager Lnet/minecraft/class_7262;
|
|
FIELD field_39986 session Lnet/minecraft/class_7822;
|
|
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;)V
|
|
ARG 1 server
|
|
ARG 2 world
|
|
ARG 3 profile
|
|
METHOD method_14203 copyFrom (Lnet/minecraft/class_3222;Z)V
|
|
ARG 1 oldPlayer
|
|
ARG 2 alive
|
|
METHOD method_14205 sendChunkPacket (Lnet/minecraft/class_1923;Lnet/minecraft/class_2596;)V
|
|
ARG 1 chunkPos
|
|
ARG 2 chunkDataPacket
|
|
METHOD method_14206 getPlayerListName ()Lnet/minecraft/class_2561;
|
|
METHOD method_14207 handleFall (DZ)V
|
|
ARG 1 heightDifference
|
|
ARG 3 onGround
|
|
METHOD method_14208 isInTeleportationState ()Z
|
|
METHOD method_14209 getIp ()Ljava/lang/String;
|
|
METHOD method_14210 (Lnet/minecraft/class_2561;Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
|
|
ARG 1 style
|
|
METHOD method_14212 updateScores (Lnet/minecraft/class_274;I)V
|
|
ARG 1 criterion
|
|
ARG 2 score
|
|
METHOD method_14213 setClientSettings (Lnet/minecraft/class_2803;)V
|
|
ARG 1 packet
|
|
METHOD method_14217 markHealthDirty ()V
|
|
METHOD method_14218 updateInput (FFZZ)V
|
|
ARG 1 sidewaysSpeed
|
|
ARG 2 forwardSpeed
|
|
ARG 3 jumping
|
|
ARG 4 sneaking
|
|
METHOD method_14219 getLastActionTime ()J
|
|
METHOD method_14221 (ILnet/minecraft/class_267;)V
|
|
ARG 1 score
|
|
METHOD method_14222 lookAtEntity (Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)V
|
|
ARG 1 anchorPoint
|
|
ARG 2 targetEntity
|
|
ARG 3 targetAnchor
|
|
METHOD method_14224 setCameraEntity (Lnet/minecraft/class_1297;)V
|
|
ARG 1 entity
|
|
METHOD method_14226 playerTick ()V
|
|
METHOD method_14227 updateScoreboardScore (Ljava/lang/String;Ljava/lang/String;[Lnet/minecraft/class_274;)V
|
|
ARG 1 playerName
|
|
ARG 2 team
|
|
ARG 3 criterions
|
|
METHOD method_14228 setExperiencePoints (I)V
|
|
ARG 1 points
|
|
METHOD method_14230 isPvpEnabled ()Z
|
|
METHOD method_14231 onDisconnect ()V
|
|
METHOD method_14232 getWatchedSection ()Lnet/minecraft/class_4076;
|
|
COMMENT Returns the chunk section position the player's client is currently watching
|
|
COMMENT from. This may differ from the chunk section the player is currently in.
|
|
COMMENT
|
|
COMMENT <p>This is only for chunk loading (watching) purpose. This is updated together
|
|
COMMENT with entity tracking, but they are separate mechanisms.
|
|
COMMENT
|
|
COMMENT @see #watchedSection
|
|
COMMENT @see #setWatchedSection(ChunkSectionPos)
|
|
METHOD method_14234 updateLastActionTime ()V
|
|
METHOD method_14235 onScreenHandlerOpened (Lnet/minecraft/class_1703;)V
|
|
ARG 1 screenHandler
|
|
METHOD method_14236 getAdvancementTracker ()Lnet/minecraft/class_2985;
|
|
METHOD method_14237 incrementScreenHandlerSyncId ()V
|
|
METHOD method_14238 getClientChatVisibility ()Lnet/minecraft/class_1659;
|
|
METHOD method_14239 isDisconnected ()Z
|
|
METHOD method_14240 onTeleportationDone ()V
|
|
METHOD method_14242 getCameraEntity ()Lnet/minecraft/class_1297;
|
|
METHOD method_14244 calculateSpawnOffsetMultiplier (I)I
|
|
ARG 1 horizontalSpawnArea
|
|
METHOD method_14245 moveToSpawn (Lnet/minecraft/class_3218;)V
|
|
ARG 1 world
|
|
METHOD method_14246 sendUnloadChunkPacket (Lnet/minecraft/class_1923;)V
|
|
ARG 1 chunkPos
|
|
METHOD method_14247 closeScreenHandler ()V
|
|
COMMENT Runs closing tasks for the current screen handler and
|
|
COMMENT sets it to the {@code playerScreenHandler}.
|
|
METHOD method_14248 getStatHandler ()Lnet/minecraft/class_3442;
|
|
METHOD method_14250 (ILnet/minecraft/class_267;)V
|
|
ARG 1 score
|
|
METHOD method_14251 teleport (Lnet/minecraft/class_3218;DDDFF)V
|
|
ARG 1 targetWorld
|
|
ARG 2 x
|
|
ARG 4 y
|
|
ARG 6 z
|
|
ARG 8 yaw
|
|
ARG 9 pitch
|
|
METHOD method_14252 setExperienceLevel (I)V
|
|
ARG 1 level
|
|
METHOD method_14253 getRecipeBook ()Lnet/minecraft/class_3441;
|
|
METHOD method_14255 sendResourcePackUrl (Ljava/lang/String;Ljava/lang/String;ZLnet/minecraft/class_2561;)V
|
|
ARG 1 url
|
|
ARG 2 hash
|
|
ARG 3 required
|
|
ARG 4 resourcePackPrompt
|
|
METHOD method_17668 setWatchedSection (Lnet/minecraft/class_4076;)V
|
|
COMMENT Sets the chunk section position the player's client is currently watching
|
|
COMMENT from. This is usually called when the player moves to a new chunk section.
|
|
COMMENT
|
|
COMMENT @see #watchedSection
|
|
COMMENT @see #getWatchedSection()
|
|
ARG 1 section
|
|
COMMENT the updated section position
|
|
METHOD method_18783 worldChanged (Lnet/minecraft/class_3218;)V
|
|
ARG 1 origin
|
|
METHOD method_19504 (Lnet/minecraft/class_3902;)V
|
|
ARG 1 unit
|
|
METHOD method_26280 getSpawnPointPosition ()Lnet/minecraft/class_2338;
|
|
METHOD method_26281 getSpawnPointDimension ()Lnet/minecraft/class_5321;
|
|
METHOD method_26282 isSpawnForced ()Z
|
|
METHOD method_26283 (Lnet/minecraft/class_1588;)Z
|
|
ARG 1 entity
|
|
METHOD method_26284 setSpawnPoint (Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)V
|
|
COMMENT Sets the player's spawn point.
|
|
ARG 1 dimension
|
|
COMMENT the new spawn dimension
|
|
ARG 2 pos
|
|
COMMENT the new spawn point, or {@code null} if resetting to the world spawn
|
|
ARG 3 angle
|
|
ARG 4 forced
|
|
COMMENT whether the new spawn point is {@linkplain #isSpawnForced() forced}
|
|
ARG 5 sendMessage
|
|
COMMENT if {@code true}, a game message about the spawn point change will be sent
|
|
METHOD method_26285 isBedTooFarAway (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
|
|
ARG 1 pos
|
|
ARG 2 direction
|
|
METHOD method_26286 isBedObstructed (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
|
|
ARG 1 pos
|
|
ARG 2 direction
|
|
METHOD method_26287 isBedTooFarAway (Lnet/minecraft/class_2338;)Z
|
|
ARG 1 pos
|
|
METHOD method_29205 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2520;)V
|
|
ARG 1 encoded
|
|
METHOD method_29777 (Lnet/minecraft/class_1308;)V
|
|
ARG 1 entity
|
|
METHOD method_29778 (Lnet/minecraft/class_1308;)Z
|
|
ARG 0 entity
|
|
METHOD method_29779 forgiveMobAnger ()V
|
|
METHOD method_30313 createEndSpawnPlatform (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
|
|
ARG 1 world
|
|
ARG 2 centerPos
|
|
METHOD method_30631 getSpawnAngle ()F
|
|
METHOD method_31273 getTextStream ()Lnet/minecraft/class_5513;
|
|
METHOD method_32745 gameModeFromNbt (Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_1934;
|
|
ARG 0 nbt
|
|
ARG 1 key
|
|
METHOD method_32746 getServerGameMode (Lnet/minecraft/class_1934;)Lnet/minecraft/class_1934;
|
|
COMMENT Returns the server game mode the player should be set to, namely the forced game mode.
|
|
COMMENT
|
|
COMMENT <p>If the forced game mode is not set, returns the {@code backupGameMode} if not {@code null},
|
|
COMMENT or the server's default game mode otherwise.
|
|
COMMENT
|
|
COMMENT @see MinecraftServer#getForcedGameMode
|
|
ARG 1 backupGameMode
|
|
METHOD method_32747 setWorld (Lnet/minecraft/class_3218;)V
|
|
ARG 1 world
|
|
METHOD method_32748 setGameMode (Lnet/minecraft/class_2487;)V
|
|
ARG 1 nbt
|
|
METHOD method_32749 writeGameModeNbt (Lnet/minecraft/class_2487;)V
|
|
ARG 1 nbt
|
|
METHOD method_33795 shouldFilterMessagesSentTo (Lnet/minecraft/class_3222;)Z
|
|
ARG 1 player
|
|
METHOD method_34225 onSpawn ()V
|
|
METHOD method_34879 areClientChatColorsEnabled ()Z
|
|
METHOD method_37412 (Lnet/minecraft/class_1661;I)V
|
|
ARG 2 index
|
|
METHOD method_37413 dropSelectedItem (Z)Z
|
|
ARG 1 entireStack
|
|
METHOD method_38786 tickFallStartPos ()V
|
|
METHOD method_38787 tickVehicleInLavaRiding ()V
|
|
METHOD method_39426 allowsServerListing ()Z
|
|
METHOD method_43502 sendMessageToClient (Lnet/minecraft/class_2561;Z)V
|
|
ARG 1 message
|
|
ARG 2 overlay
|
|
METHOD method_43505 sendChatMessage (Lnet/minecraft/class_7604;ZLnet/minecraft/class_2556$class_7602;)V
|
|
COMMENT Sends a chat message to the player.
|
|
COMMENT
|
|
COMMENT <p>Chat messages have signatures. It is possible to use a bogus signature - such as
|
|
COMMENT {@link net.minecraft.network.message.SignedMessage#ofUnsigned} - to send a chat
|
|
COMMENT message; however if the signature is invalid (e.g. because the text's content differs
|
|
COMMENT from the one sent by the client, or because the passed signature is invalid) the client
|
|
COMMENT will show a warning and can discard it depending on the client's options.
|
|
COMMENT
|
|
COMMENT @see #sendMessage(Text)
|
|
COMMENT @see #sendMessage(Text, boolean)
|
|
ARG 1 message
|
|
ARG 2 filterMaskEnabled
|
|
ARG 3 params
|
|
METHOD method_43930 sendServerMetadata (Lnet/minecraft/class_2926;)V
|
|
ARG 1 metadata
|
|
METHOD method_44706 acceptsChatMessage ()Z
|
|
METHOD method_44707 acceptsMessage (Z)Z
|
|
ARG 1 overlay
|
|
METHOD method_45163 getSession ()Lnet/minecraft/class_7822;
|
|
METHOD method_45164 (Lnet/minecraft/class_7262;)V
|
|
ARG 1 sculkShriekerWarningManager
|
|
METHOD method_45165 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2520;)V
|
|
ARG 1 encoded
|
|
METHOD method_46364 setSession (Lnet/minecraft/class_7822;)V
|
|
ARG 1 session
|
|
METHOD method_7336 changeGameMode (Lnet/minecraft/class_1934;)Z
|
|
ARG 1 gameMode
|
|
CLASS 1
|
|
METHOD method_34227 sendPropertyUpdate (Lnet/minecraft/class_1703;II)V
|
|
ARG 1 handler
|
|
ARG 2 property
|
|
ARG 3 value
|