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 ale
intermediary net/minecraft/class_219
named net/minecraft/block/entity/EnchantingTableBlockEntity
  • Field Details

    • RANDOM

      private static Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official o Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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 Lale;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

    • toNbt

      public void toNbt(NbtCompound nbt)
      Overrides:
      toNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lakw;b(Ldn;)V
      intermediary method_541 Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)V
      named toNbt Lnet/minecraft/block/entity/BlockEntity;toNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lakw;a(Ldn;)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 c Lkm;c()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 e_ Lop;e_()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 l_ Lop;l_()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 Lale;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
      Mappings:
      Namespace Name Mixin selector
      official f_ Lop;f_()Leu;
      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 Lol;a(Lwm;Lwn;)Lxi;
      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 k Lol;k()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;