Package net.minecraft.block.entity
Class EnchantingTableBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.EnchantingTableBlockEntity
- All Implemented Interfaces:
NamedScreenHandlerFactory,Nameable,Tickable
public class EnchantingTableBlockEntity extends BlockEntity implements Tickable, NamedScreenHandlerFactory
- Mappings:
Namespace Name official aleintermediary net/minecraft/class_357named net/minecraft/block/entity/EnchantingTableBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private StringcustomNamefloatfield_1428floatfield_1429floatfield_1432floatfield_1433floatfield_1434floatnextPageAnglefloatnextPageTurningSpeedfloatpageAnglefloatpageTurningSpeedprivate static RandomRANDOMintticksFields inherited from class net.minecraft.block.entity.BlockEntity
block, pos, removed, world -
Constructor Summary
Constructors Constructor Description EnchantingTableBlockEntity() -
Method Summary
Modifier and Type Method Description ScreenHandlercreateScreenHandler(PlayerInventory inventory, PlayerEntity player)voidfromTag(CompoundTag tag)StringgetId()TextgetName()StringgetTranslationKey()booleanhasCustomName()voidsetCustomName(String customName)voidtick()voidtoTag(CompoundTag tag)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createFromTag, getBlock, getDataValue, getPacket, getPos, getSquaredDistance, getSquaredRenderDistance, getWorld, hasWorld, isRemoved, markDirty, markRemoved, onBlockAction, populateCrashReport, resetBlock, setPos, setWorld, shouldNotCopyTagFromItem
-
Field Details
-
RANDOM
- Mappings:
Namespace Name Mixin selector official oLale;o:Ljava/util/Random;intermediary field_1435Lnet/minecraft/class_357;field_1435:Ljava/util/Random;named RANDOMLnet/minecraft/block/entity/EnchantingTableBlockEntity;RANDOM:Ljava/util/Random;
-
ticks
public int ticks- Mappings:
Namespace Name Mixin selector official aLale;a:Iintermediary field_1425Lnet/minecraft/class_357;field_1425:Inamed ticksLnet/minecraft/block/entity/EnchantingTableBlockEntity;ticks:I
-
nextPageAngle
public float nextPageAngle- Mappings:
Namespace Name Mixin selector official fLale;f:Fintermediary field_1426Lnet/minecraft/class_357;field_1426:Fnamed nextPageAngleLnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageAngle:F
-
pageAngle
public float pageAngle- Mappings:
Namespace Name Mixin selector official gLale;g:Fintermediary field_1427Lnet/minecraft/class_357;field_1427:Fnamed pageAngleLnet/minecraft/block/entity/EnchantingTableBlockEntity;pageAngle:F
-
field_1428
public float field_1428- Mappings:
Namespace Name Mixin selector official hLale;h:Fintermediary field_1428Lnet/minecraft/class_357;field_1428:Fnamed field_1428Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_1428:F
-
field_1429
public float field_1429- Mappings:
Namespace Name Mixin selector official iLale;i:Fintermediary field_1429Lnet/minecraft/class_357;field_1429:Fnamed field_1429Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_1429:F
-
nextPageTurningSpeed
public float nextPageTurningSpeed- Mappings:
Namespace Name Mixin selector official jLale;j:Fintermediary field_1430Lnet/minecraft/class_357;field_1430:Fnamed nextPageTurningSpeedLnet/minecraft/block/entity/EnchantingTableBlockEntity;nextPageTurningSpeed:F
-
pageTurningSpeed
public float pageTurningSpeed- Mappings:
Namespace Name Mixin selector official kLale;k:Fintermediary field_1431Lnet/minecraft/class_357;field_1431:Fnamed pageTurningSpeedLnet/minecraft/block/entity/EnchantingTableBlockEntity;pageTurningSpeed:F
-
field_1432
public float field_1432- Mappings:
Namespace Name Mixin selector official lLale;l:Fintermediary field_1432Lnet/minecraft/class_357;field_1432:Fnamed field_1432Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_1432:F
-
field_1433
public float field_1433- Mappings:
Namespace Name Mixin selector official mLale;m:Fintermediary field_1433Lnet/minecraft/class_357;field_1433:Fnamed field_1433Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_1433:F
-
field_1434
public float field_1434- Mappings:
Namespace Name Mixin selector official nLale;n:Fintermediary field_1434Lnet/minecraft/class_357;field_1434:Fnamed field_1434Lnet/minecraft/block/entity/EnchantingTableBlockEntity;field_1434:F
-
customName
- Mappings:
Namespace Name Mixin selector official pLale;p:Ljava/lang/String;intermediary field_1436Lnet/minecraft/class_357;field_1436:Ljava/lang/String;named customNameLnet/minecraft/block/entity/EnchantingTableBlockEntity;customName:Ljava/lang/String;
-
-
Constructor Details
-
EnchantingTableBlockEntity
public EnchantingTableBlockEntity()
-
-
Method Details
-
toTag
- Overrides:
toTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official bLakw;b(Ldn;)Vintermediary method_1100Lnet/minecraft/class_348;method_1100(Lnet/minecraft/class_1405;)Vnamed toTagLnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)V
-
fromTag
- Overrides:
fromTagin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLakw;a(Ldn;)Vintermediary method_1098Lnet/minecraft/class_348;method_1098(Lnet/minecraft/class_1405;)Vnamed fromTagLnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
tick
public void tick() -
getTranslationKey
- Specified by:
getTranslationKeyin interfaceNameable- Mappings:
Namespace Name Mixin selector official e_Lop;e_()Ljava/lang/String;intermediary method_6261Lnet/minecraft/class_1726;method_6261()Ljava/lang/String;named getTranslationKeyLnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
-
hasCustomName
public boolean hasCustomName()- Specified by:
hasCustomNamein interfaceNameable- Mappings:
Namespace Name Mixin selector official l_Lop;l_()Zintermediary method_6770Lnet/minecraft/class_1726;method_6770()Znamed hasCustomNameLnet/minecraft/text/Nameable;hasCustomName()Z
-
setCustomName
- Mappings:
Namespace Name Mixin selector official aLale;a(Ljava/lang/String;)Vintermediary method_1134Lnet/minecraft/class_357;method_1134(Ljava/lang/String;)Vnamed setCustomNameLnet/minecraft/block/entity/EnchantingTableBlockEntity;setCustomName(Ljava/lang/String;)V
-
getName
-
createScreenHandler
- Specified by:
createScreenHandlerin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official aLol;a(Lwm;Lwn;)Lxi;intermediary method_6761Lnet/minecraft/class_1723;method_6761(Lnet/minecraft/class_1962;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1983;named createScreenHandlerLnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-
getId
- Specified by:
getIdin interfaceNamedScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official kLol;k()Ljava/lang/String;intermediary method_6762Lnet/minecraft/class_1723;method_6762()Ljava/lang/String;named getIdLnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
-