Class EnchantingTableBlockEntity

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

public class EnchantingTableBlockEntity extends BlockEntity implements Nameable
Mappings:
Namespace Name
official csz
intermediary net/minecraft/class_2605
named net/minecraft/block/entity/EnchantingTableBlockEntity
  • Field Details

    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official k Lcsz;k:Lalu;
      intermediary field_11968 Lnet/minecraft/class_2605;field_11968:Lnet/minecraft/class_5819;
      named RANDOM Lnet/minecraft/block/entity/EnchantingTableBlockEntity;RANDOM:Lnet/minecraft/util/math/random/Random;
    • ticks

      public int ticks
      Mappings:
      Namespace Name Mixin selector
      official a Lcsz;a:I
      intermediary field_11961 Lnet/minecraft/class_2605;field_11961:I
      named ticks Lnet/minecraft/block/entity/EnchantingTableBlockEntity;ticks:I
    • nextPageAngle

      public float nextPageAngle
      Mappings:
      Namespace Name Mixin selector
      official b Lcsz;b:F
      intermediary field_11958 Lnet/minecraft/class_2605;field_11958:F
      named nextPageAngle Lnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageAngle:F
    • pageAngle

      public float pageAngle
      Mappings:
      Namespace Name Mixin selector
      official c Lcsz;c:F
      intermediary field_11960 Lnet/minecraft/class_2605;field_11960:F
      named pageAngle Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageAngle:F
    • flipRandom

      public float flipRandom
      Mappings:
      Namespace Name Mixin selector
      official d Lcsz;d:F
      intermediary field_11969 Lnet/minecraft/class_2605;field_11969:F
      named flipRandom Lnet/minecraft/block/entity/EnchantingTableBlockEntity;flipRandom:F
    • flipTurn

      public float flipTurn
      Mappings:
      Namespace Name Mixin selector
      official e Lcsz;e:F
      intermediary field_11967 Lnet/minecraft/class_2605;field_11967:F
      named flipTurn Lnet/minecraft/block/entity/EnchantingTableBlockEntity;flipTurn:F
    • nextPageTurningSpeed

      public float nextPageTurningSpeed
      Mappings:
      Namespace Name Mixin selector
      official f Lcsz;f:F
      intermediary field_11966 Lnet/minecraft/class_2605;field_11966:F
      named nextPageTurningSpeed Lnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageTurningSpeed:F
    • pageTurningSpeed

      public float pageTurningSpeed
      Mappings:
      Namespace Name Mixin selector
      official g Lcsz;g:F
      intermediary field_11965 Lnet/minecraft/class_2605;field_11965:F
      named pageTurningSpeed Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageTurningSpeed:F
    • bookRotation

      public float bookRotation
      Mappings:
      Namespace Name Mixin selector
      official h Lcsz;h:F
      intermediary field_11964 Lnet/minecraft/class_2605;field_11964:F
      named bookRotation Lnet/minecraft/block/entity/EnchantingTableBlockEntity;bookRotation:F
    • lastBookRotation

      public float lastBookRotation
      Mappings:
      Namespace Name Mixin selector
      official i Lcsz;i:F
      intermediary field_11963 Lnet/minecraft/class_2605;field_11963:F
      named lastBookRotation Lnet/minecraft/block/entity/EnchantingTableBlockEntity;lastBookRotation:F
    • targetBookRotation

      public float targetBookRotation
      Mappings:
      Namespace Name Mixin selector
      official j Lcsz;j:F
      intermediary field_11962 Lnet/minecraft/class_2605;field_11962:F
      named targetBookRotation Lnet/minecraft/block/entity/EnchantingTableBlockEntity;targetBookRotation:F
    • customName

      private Text customName
      Mappings:
      Namespace Name Mixin selector
      official l Lcsz;l:Lrm;
      intermediary field_11959 Lnet/minecraft/class_2605;field_11959:Lnet/minecraft/class_2561;
      named customName Lnet/minecraft/block/entity/EnchantingTableBlockEntity;customName:Lnet/minecraft/text/Text;
  • Constructor Details

    • EnchantingTableBlockEntity

      public EnchantingTableBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsz;<init>(Lgt;Lcur;)V
      intermediary <init> Lnet/minecraft/class_2605;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named <init> Lnet/minecraft/block/entity/EnchantingTableBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
  • Method Details

    • writeNbt

      protected void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcsl;b(Lpj;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcsl;a(Lpj;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • tick

      public static void tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsz;a(Lcga;Lgt;Lcur;Lcsz;)V
      intermediary method_31688 Lnet/minecraft/class_2605;method_31688(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2605;)V
      named tick Lnet/minecraft/block/entity/EnchantingTableBlockEntity;tick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EnchantingTableBlockEntity;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official X Lazq;X()Lrm;
      intermediary method_5477 Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;
      named getName Lnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;
    • setCustomName

      public void setCustomName(@Nullable @Nullable Text customName)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsz;a(Lrm;)V
      intermediary method_11179 Lnet/minecraft/class_2605;method_11179(Lnet/minecraft/class_2561;)V
      named setCustomName Lnet/minecraft/block/entity/EnchantingTableBlockEntity;setCustomName(Lnet/minecraft/text/Text;)V
    • getCustomName

      @Nullable public @Nullable Text getCustomName()
      Specified by:
      getCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official Z Lazq;Z()Lrm;
      intermediary method_5797 Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;
      named getCustomName Lnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;