diff --git a/mappings/net/minecraft/client/font/TextRenderer.mapping b/mappings/net/minecraft/client/font/TextRenderer.mapping index d73912ff9b..a6cf354e78 100644 --- a/mappings/net/minecraft/client/font/TextRenderer.mapping +++ b/mappings/net/minecraft/client/font/TextRenderer.mapping @@ -1,5 +1,10 @@ CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer COMMENT Manages the rendering of text. + COMMENT + COMMENT

The current instance used by the client can be obtained by + COMMENT {@code MinecraftClient.getInstance().textRenderer}. + COMMENT + COMMENT @see net.minecraft.client.MinecraftClient#textRenderer FIELD field_1997 fontStorageAccessor Ljava/util/function/Function; FIELD field_2000 fontHeight I COMMENT The font height of the text that is rendered by the text renderer. diff --git a/mappings/net/minecraft/entity/Entity.mapping b/mappings/net/minecraft/entity/Entity.mapping index 4451f6a212..30a0bfc4c7 100644 --- a/mappings/net/minecraft/entity/Entity.mapping +++ b/mappings/net/minecraft/entity/Entity.mapping @@ -220,6 +220,8 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity COMMENT COMMENT @see #streamPassengersAndSelf() METHOD method_24516 isInRange (Lnet/minecraft/class_1297;D)Z + COMMENT Checks if the distance between this entity and the {@code other} entity is less + COMMENT than {@code radius}. ARG 1 other ARG 2 radius METHOD method_24826 getPassengerDismountOffset (DDF)Lnet/minecraft/class_243; @@ -454,6 +456,7 @@ CLASS net/minecraft/class_1297 net/minecraft/entity/Entity METHOD method_5669 getAir ()I METHOD method_5670 baseTick ()V METHOD method_5671 getCommandSource ()Lnet/minecraft/class_2168; + COMMENT Creates a command source which represents this entity. METHOD method_5672 getHighSpeedSplashSound ()Lnet/minecraft/class_3414; METHOD method_5673 equipStack (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V ARG 1 slot diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index 02bb89a452..2e569a6131 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -283,6 +283,11 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity METHOD method_6024 getLeaningPitch (F)F ARG 1 tickDelta METHOD method_6025 heal (F)V + COMMENT Heals this entity by the given {@code amount} of half-hearts. + COMMENT + COMMENT

A dead entity cannot be healed. + COMMENT + COMMENT @see #isDead() ARG 1 amount METHOD method_6026 getStatusEffects ()Ljava/util/Collection; METHOD method_6027 updatePotionVisibility ()V diff --git a/mappings/net/minecraft/server/command/ServerCommandSource.mapping b/mappings/net/minecraft/server/command/ServerCommandSource.mapping index 8bedee46a8..2486c9feb7 100644 --- a/mappings/net/minecraft/server/command/ServerCommandSource.mapping +++ b/mappings/net/minecraft/server/command/ServerCommandSource.mapping @@ -1,4 +1,8 @@ CLASS net/minecraft/class_2168 net/minecraft/server/command/ServerCommandSource + COMMENT Represents a command source used on server side. + COMMENT + COMMENT @see MinecraftServer#getCommandSource() + COMMENT @see Entity#getCommandSource() FIELD field_9815 level I FIELD field_9816 entityAnchor Lnet/minecraft/class_2183$class_2184; FIELD field_9817 position Lnet/minecraft/class_243; @@ -79,6 +83,7 @@ CLASS net/minecraft/class_2168 net/minecraft/server/command/ServerCommandSource METHOD method_9227 withWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_2168; ARG 1 world METHOD method_9228 getEntity ()Lnet/minecraft/class_1297; + COMMENT Gets the entity from this command source or returns null if this command source is not an entity. METHOD method_9229 getEntityOrThrow ()Lnet/minecraft/class_1297; COMMENT Gets the entity from this command source or throws a command syntax exception if this command source is not an entity. METHOD method_9230 withMaxLevel (I)Lnet/minecraft/class_2168;