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 NamedScreenHandlerFactory, Tickable
Mappings:
Namespace Name
official bjs
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 n Lbjs;n: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 Lbjs;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 e Lbjs;e: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 f Lbjs;f: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 g Lbjs;g: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 h Lbjs;h: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 i Lbjs;i: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 j Lbjs;j: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 k Lbjs;k: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 l Lbjs;l: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 m Lbjs;m:F
      intermediary field_539 Lnet/minecraft/class_219;field_539:F
      named field_539 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_539:F
    • field_18634

      private Text field_18634
      Mappings:
      Namespace Name Mixin selector
      official o Lbjs;o:Lij;
      intermediary field_18634 Lnet/minecraft/class_219;field_18634:Lnet/minecraft/class_1982;
      named field_18634 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_18634:Lnet/minecraft/text/Text;
  • 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 a Lbji;a(Lgy;)Lgy;
      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 b Lbji;b(Lgy;)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 Y_ Lpt;Y_()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • method_15540

      public Text method_15540()
      Specified by:
      method_15540 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official N_ Ladr;N_()Lij;
      intermediary method_15540 Lnet/minecraft/class_2611;method_15540()Lnet/minecraft/class_1982;
      named method_15540 Lnet/minecraft/text/Nameable;method_15540()Lnet/minecraft/text/Text;
    • hasCustomName

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

      public void method_16811(@Nullable Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjs;a(Lij;)V
      intermediary method_16811 Lnet/minecraft/class_219;method_16811(Lnet/minecraft/class_1982;)V
      named method_16811 Lnet/minecraft/block/entity/EnchantingTableBlockEntity;method_16811(Lnet/minecraft/text/Text;)V
    • method_15541

      @Nullable public Text method_15541()
      Specified by:
      method_15541 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official e Ladr;e()Lij;
      intermediary method_15541 Lnet/minecraft/class_2611;method_15541()Lnet/minecraft/class_1982;
      named method_15541 Lnet/minecraft/text/Nameable;method_15541()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 Ladl;a(Laof;Laog;)Lapv;
      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 Ladl;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;