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 cmg
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 Lcmg;k:Ljava/util/Random;
      intermediary field_11968 Lnet/minecraft/class_2605;field_11968: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 Lcmg;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 Lcmg;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 Lcmg;c:F
      intermediary field_11960 Lnet/minecraft/class_2605;field_11960:F
      named pageAngle Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageAngle:F
    • field_11969

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

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

      public float nextPageTurningSpeed
      Mappings:
      Namespace Name Mixin selector
      official f Lcmg;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 Lcmg;g:F
      intermediary field_11965 Lnet/minecraft/class_2605;field_11965:F
      named pageTurningSpeed Lnet/minecraft/block/entity/EnchantingTableBlockEntity;pageTurningSpeed:F
    • field_11964

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

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

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

      private Text customName
      Mappings:
      Namespace Name Mixin selector
      official l Lcmg;l:Lpt;
      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> Lcmg;<init>(Lgh;Lcnv;)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 Lcls;b(Lob;)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 Lcls;a(Lob;)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 Lcmg;a(Lbzw;Lgh;Lcnv;Lcmg;)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 Lavn;X()Lpt;
      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 value)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmg;a(Lpt;)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 Lavn;Z()Lpt;
      intermediary method_5797 Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;
      named getCustomName Lnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;