Skip to content

Commit

Permalink
Map Nameable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Sep 25, 2024
1 parent 2eae73f commit a8f058a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mappings/net/minecraft/util/Nameable.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ CLASS net/minecraft/class_1275 net/minecraft/util/Nameable
COMMENT
COMMENT <p>By default, this returns the result of {@link #getName}. The return value can
COMMENT have styling applied.
METHOD method_5477 getName ()Ljava/lang/String;
METHOD method_5477 getName ()Lnet/minecraft/class_2561;
COMMENT {@return the name of this object}
COMMENT
COMMENT <p>This should return {@linkplain #getCustomName the custom name} if it exists,
COMMENT otherwise the default name. This should not have styling applied.
METHOD method_5797 method_5797 ()Lnet/minecraft/class_2561;
METHOD method_5478 hasCustomName ()Z
METHOD method_5797 getDisplayName ()Lnet/minecraft/class_2561;
COMMENT {@return the custom name of this object, or {@code null} if there is none}

0 comments on commit a8f058a

Please sign in to comment.