Package net.minecraft.block.entity
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 Summary
Fields Modifier and Type Field Description private Text
customName
float
field_11962
float
field_11963
float
field_11964
float
field_11967
float
field_11969
float
nextPageAngle
float
nextPageTurningSpeed
float
pageAngle
float
pageTurningSpeed
private static Random
RANDOM
int
ticks
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description EnchantingTableBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Modifier and Type Method Description void
fromTag(CompoundTag tag)
Text
getCustomName()
Text
getName()
void
setCustomName(Text value)
static void
tick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)
CompoundTag
toTag(CompoundTag tag)
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacket
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.Nameable
getDisplayName, hasCustomName
-
Field Details
-
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
- 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
- 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
- Overrides:
toTag
in classBlockEntity
- 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
- Overrides:
fromTag
in classBlockEntity
- 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
-
setCustomName
- 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
- Specified by:
getCustomName
in interfaceNameable
- 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;
-