Class EnchantingTableBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.EnchantingTableBlockEntity
All Implemented Interfaces:
NamedScreenHandlerFactory, Nameable, Tickable

public class EnchantingTableBlockEntity extends BlockEntity implements Tickable, NamedScreenHandlerFactory
Mappings:
Namespace Name
official avr
intermediary net/minecraft/class_219
named net/minecraft/block/entity/EnchantingTableBlockEntity
  • Field Details

    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official o Lavr;o:Ljava/util/Random;
      intermediary field_540 Lnet/minecraft/class_219;field_540:Ljava/util/Random;
      named RANDOM Lnet/minecraft/block/entity/EnchantingTableBlockEntity;RANDOM:Ljava/util/Random;
    • ticks

      public int ticks
      Mappings:
      Namespace Name Mixin selector
      official a Lavr;a:I
      intermediary field_530 Lnet/minecraft/class_219;field_530:I
      named ticks Lnet/minecraft/block/entity/EnchantingTableBlockEntity;ticks:I
    • nextPageAngle

      public float nextPageAngle
      Mappings:
      Namespace Name Mixin selector
      official f Lavr;f:F
      intermediary field_531 Lnet/minecraft/class_219;field_531:F
      named nextPageAngle Lnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageAngle:F
    • pageAngle

      public float pageAngle
      Mappings:
      Namespace Name Mixin selector
      official g Lavr;g:F
      intermediary field_532 Lnet/minecraft/class_219;field_532:F
      named pageAngle Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageAngle:F
    • field_533

      public float field_533
      Mappings:
      Namespace Name Mixin selector
      official h Lavr;h:F
      intermediary field_533 Lnet/minecraft/class_219;field_533:F
      named field_533 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_533:F
    • field_534

      public float field_534
      Mappings:
      Namespace Name Mixin selector
      official i Lavr;i:F
      intermediary field_534 Lnet/minecraft/class_219;field_534:F
      named field_534 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_534:F
    • nextPageTurningSpeed

      public float nextPageTurningSpeed
      Mappings:
      Namespace Name Mixin selector
      official j Lavr;j:F
      intermediary field_535 Lnet/minecraft/class_219;field_535:F
      named nextPageTurningSpeed Lnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageTurningSpeed:F
    • pageTurningSpeed

      public float pageTurningSpeed
      Mappings:
      Namespace Name Mixin selector
      official k Lavr;k:F
      intermediary field_536 Lnet/minecraft/class_219;field_536:F
      named pageTurningSpeed Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageTurningSpeed:F
    • field_537

      public float field_537
      Mappings:
      Namespace Name Mixin selector
      official l Lavr;l:F
      intermediary field_537 Lnet/minecraft/class_219;field_537:F
      named field_537 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_537:F
    • field_538

      public float field_538
      Mappings:
      Namespace Name Mixin selector
      official m Lavr;m:F
      intermediary field_538 Lnet/minecraft/class_219;field_538:F
      named field_538 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_538:F
    • field_539

      public float field_539
      Mappings:
      Namespace Name Mixin selector
      official n Lavr;n:F
      intermediary field_539 Lnet/minecraft/class_219;field_539:F
      named field_539 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_539:F
    • customName

      private String customName
      Mappings:
      Namespace Name Mixin selector
      official p Lavr;p:Ljava/lang/String;
      intermediary field_5655 Lnet/minecraft/class_219;field_5655:Ljava/lang/String;
      named customName Lnet/minecraft/block/entity/EnchantingTableBlockEntity;customName:Ljava/lang/String;
  • Constructor Details

    • EnchantingTableBlockEntity

      public EnchantingTableBlockEntity()
  • Method Details

    • method_541

      public NbtCompound method_541(NbtCompound nbtCompound)
      Overrides:
      method_541 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lavj;b(Lfy;)Lfy;
      intermediary method_541 Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named method_541 Lnet/minecraft/block/entity/BlockEntity;method_541(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lavj;a(Lfy;)V
      intermediary method_537 Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official e Lnx;e()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • 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
    • setCustomName

      public void setCustomName(String customName)
      Mappings:
      Namespace Name Mixin selector
      official a Lavr;a(Ljava/lang/String;)V
      intermediary method_4814 Lnet/minecraft/class_219;method_4814(Ljava/lang/String;)V
      named setCustomName Lnet/minecraft/block/entity/EnchantingTableBlockEntity;setCustomName(Ljava/lang/String;)V
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface Nameable
      Overrides:
      method_6344 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official i_ Lavj;i_()Lhh;
      intermediary method_6344 Lnet/minecraft/class_226;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/block/entity/BlockEntity;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;