mirror of https://github.com/FabricMC/yarn.git
Add misc javadoc (#2170)
* Add misc javadoc * hearts -> half-hearts * Use passive voice Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com> Co-authored-by: SuperCoder79 <25208576+SuperCoder7979@users.noreply.github.com>
This commit is contained in:
parent
b866ab6da7
commit
80fa3fa325
|
@ -1,5 +1,10 @@
|
|||
CLASS net/minecraft/class_327 net/minecraft/client/font/TextRenderer
|
||||
COMMENT Manages the rendering of text.
|
||||
COMMENT
|
||||
COMMENT <p>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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 <p>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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue