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 cgf
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 n Lcgf;n: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 Lcgf;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 Lcgf;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 Lcgf;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 g Lcgf;g: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 h Lcgf;h: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 i Lcgf;i: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 j Lcgf;j: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 k Lcgf;k: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 l Lcgf;l: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 m Lcgf;m: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 o Lcgf;o:Loi;
      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> Lcgf;<init>(Lfx;Lcht;)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

    • toTag

      public CompoundTag toTag​(CompoundTag tag)
      Overrides:
      toTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lcfr;b(Lmq;)Lmq;
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named toTag Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
    • fromTag

      public void fromTag​(CompoundTag tag)
      Overrides:
      fromTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lcfr;a(Lmq;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
      named fromTag Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • tick

      public static void tick​(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgf;a(Lbtv;Lfx;Lcht;Lcgf;)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 R Lapu;R()Loi;
      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 Text value)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgf;a(Loi;)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 Text getCustomName()
      Specified by:
      getCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official T Lapu;T()Loi;
      intermediary method_5797 Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;
      named getCustomName Lnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;