接口 Nameable

    • 方法详细资料

      • getName

        Text getName()
        Mappings:
        Namespace Name Mixin selector
        official R Lark;R()Lon;
        intermediary method_5477 Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;
        named getName Lnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;
      • hasCustomName

        default boolean hasCustomName()
        Mappings:
        Namespace Name Mixin selector
        official S Lark;S()Z
        intermediary method_16914 Lnet/minecraft/class_1275;method_16914()Z
        named hasCustomName Lnet/minecraft/util/Nameable;hasCustomName()Z
      • getDisplayName

        default Text getDisplayName()
        Mappings:
        Namespace Name Mixin selector
        official d Lark;d()Lon;
        intermediary method_5476 Lnet/minecraft/class_1275;method_5476()Lnet/minecraft/class_2561;
        named getDisplayName Lnet/minecraft/util/Nameable;getDisplayName()Lnet/minecraft/text/Text;
      • getCustomName

        @Nullable
        default @Nullable Text getCustomName()
        Mappings:
        Namespace Name Mixin selector
        official T Lark;T()Lon;
        intermediary method_5797 Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;
        named getCustomName Lnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;