Class AnvilBlock.AnvilNameableHandler

java.lang.Object
net.minecraft.block.AnvilBlock.AnvilNameableHandler
All Implemented Interfaces:
NamedScreenHandlerFactory, Nameable
Enclosing class:
AnvilBlock

public static class AnvilBlock.AnvilNameableHandler extends Object implements NamedScreenHandlerFactory
Mappings:
Namespace Name
official aon$a
intermediary net/minecraft/class_1299$class_2169
named net/minecraft/block/AnvilBlock$AnvilNameableHandler
  • Field Details

    • world

      private final World world
      Mappings:
      Namespace Name Mixin selector
      official a Laon$a;a:Lamu;
      intermediary field_9246 Lnet/minecraft/class_1299$class_2169;field_9246:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/block/AnvilBlock$AnvilNameableHandler;world:Lnet/minecraft/world/World;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Laon$a;b:Let;
      intermediary field_9247 Lnet/minecraft/class_1299$class_2169;field_9247:Lnet/minecraft/class_2552;
      named pos Lnet/minecraft/block/AnvilBlock$AnvilNameableHandler;pos:Lnet/minecraft/util/math/BlockPos;
  • Constructor Details

    • AnvilNameableHandler

      public AnvilNameableHandler(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laon$a;<init>(Lamu;Let;)V
      intermediary <init> Lnet/minecraft/class_1299$class_2169;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named <init> Lnet/minecraft/block/AnvilBlock$AnvilNameableHandler;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official h_ Lui;h_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_2611;method_2518()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official n_ Lui;n_()Z
      intermediary method_5339 Lnet/minecraft/class_2611;method_5339()Z
      named hasCustomName Lnet/minecraft/text/Nameable;hasCustomName()Z
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official i_ Lui;i_()Lhh;
      intermediary method_6344 Lnet/minecraft/class_2611;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/text/Nameable;method_6344()Lnet/minecraft/text/Text;
    • createScreenHandler

      public ScreenHandler createScreenHandler(PlayerInventory inventory, PlayerEntity player)
      Specified by:
      createScreenHandler in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official a Luc;a(Laec;Laed;)Lafr;
      intermediary method_10905 Lnet/minecraft/class_2608;method_10905(Lnet/minecraft/class_987;Lnet/minecraft/class_988;)Lnet/minecraft/class_1002;
      named createScreenHandler Lnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
    • getId

      public String getId()
      Specified by:
      getId in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official l Luc;l()Ljava/lang/String;
      intermediary method_10906 Lnet/minecraft/class_2608;method_10906()Ljava/lang/String;
      named getId Lnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;