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 cgfintermediary net/minecraft/class_2605named net/minecraft/block/entity/EnchantingTableBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private TextcustomNamefloatfield_11962floatfield_11963floatfield_11964floatfield_11967floatfield_11969floatnextPageAnglefloatnextPageTurningSpeedfloatpageAnglefloatpageTurningSpeedprivate static RandomRANDOMintticksFields 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 voidfromTag(CompoundTag tag)TextgetCustomName()TextgetName()voidsetCustomName(Text value)static voidtick(World world, BlockPos pos, BlockState state, EnchantingTableBlockEntity blockEntity)CompoundTagtoTag(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, toUpdatePacketMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.Nameable
getDisplayName, hasCustomName
-
Field Details
-
RANDOM
- Mappings:
Namespace Name Mixin selector official nLcgf;n:Ljava/util/Random;intermediary field_11968Lnet/minecraft/class_2605;field_11968:Ljava/util/Random;named RANDOMLnet/minecraft/block/entity/EnchantingTableBlockEntity;RANDOM:Ljava/util/Random;
-
ticks
public int ticks- Mappings:
Namespace Name Mixin selector official aLcgf;a:Iintermediary field_11961Lnet/minecraft/class_2605;field_11961:Inamed ticksLnet/minecraft/block/entity/EnchantingTableBlockEntity;ticks:I
-
nextPageAngle
public float nextPageAngle- Mappings:
Namespace Name Mixin selector official bLcgf;b:Fintermediary field_11958Lnet/minecraft/class_2605;field_11958:Fnamed nextPageAngleLnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageAngle:F
-
pageAngle
public float pageAngle- Mappings:
Namespace Name Mixin selector official cLcgf;c:Fintermediary field_11960Lnet/minecraft/class_2605;field_11960:Fnamed pageAngleLnet/minecraft/block/entity/EnchantingTableBlockEntity;pageAngle:F
-
field_11969
public float field_11969- Mappings:
Namespace Name Mixin selector official gLcgf;g:Fintermediary field_11969Lnet/minecraft/class_2605;field_11969:Fnamed field_11969Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_11969:F
-
field_11967
public float field_11967- Mappings:
Namespace Name Mixin selector official hLcgf;h:Fintermediary field_11967Lnet/minecraft/class_2605;field_11967:Fnamed field_11967Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_11967:F
-
nextPageTurningSpeed
public float nextPageTurningSpeed- Mappings:
Namespace Name Mixin selector official iLcgf;i:Fintermediary field_11966Lnet/minecraft/class_2605;field_11966:Fnamed nextPageTurningSpeedLnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageTurningSpeed:F
-
pageTurningSpeed
public float pageTurningSpeed- Mappings:
Namespace Name Mixin selector official jLcgf;j:Fintermediary field_11965Lnet/minecraft/class_2605;field_11965:Fnamed pageTurningSpeedLnet/minecraft/block/entity/EnchantingTableBlockEntity;pageTurningSpeed:F
-
field_11964
public float field_11964- Mappings:
Namespace Name Mixin selector official kLcgf;k:Fintermediary field_11964Lnet/minecraft/class_2605;field_11964:Fnamed field_11964Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_11964:F
-
field_11963
public float field_11963- Mappings:
Namespace Name Mixin selector official lLcgf;l:Fintermediary field_11963Lnet/minecraft/class_2605;field_11963:Fnamed field_11963Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_11963:F
-
field_11962
public float field_11962- Mappings:
Namespace Name Mixin selector official mLcgf;m:Fintermediary field_11962Lnet/minecraft/class_2605;field_11962:Fnamed field_11962Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_11962:F
-
customName
- Mappings:
Namespace Name Mixin selector official oLcgf;o:Loi;intermediary field_11959Lnet/minecraft/class_2605;field_11959:Lnet/minecraft/class_2561;named customNameLnet/minecraft/block/entity/EnchantingTableBlockEntity;customName:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
EnchantingTableBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcgf;<init>(Lfx;Lcht;)Vintermediary <init>Lnet/minecraft/class_2605;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/EnchantingTableBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLcfr;b(Lmq;)Lmq;intermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toTagLnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfr;a(Lmq;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)Vnamed fromTagLnet/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 aLcgf;a(Lbtv;Lfx;Lcht;Lcgf;)Vintermediary method_31688Lnet/minecraft/class_2605;method_31688(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2605;)Vnamed tickLnet/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 aLcgf;a(Loi;)Vintermediary method_11179Lnet/minecraft/class_2605;method_11179(Lnet/minecraft/class_2561;)Vnamed setCustomNameLnet/minecraft/block/entity/EnchantingTableBlockEntity;setCustomName(Lnet/minecraft/text/Text;)V
-
getCustomName
- Specified by:
getCustomNamein interfaceNameable- Mappings:
Namespace Name Mixin selector official TLapu;T()Loi;intermediary method_5797Lnet/minecraft/class_1275;method_5797()Lnet/minecraft/class_2561;named getCustomNameLnet/minecraft/util/Nameable;getCustomName()Lnet/minecraft/text/Text;
-