Package net.minecraft.block.entity
Class EnderChestBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.EnderChestBlockEntity
- All Implemented Interfaces:
ChestAnimationProgress
@EnvironmentInterfaces(@EnvironmentInterface(value=CLIENT,itf=ChestAnimationProgress.class)) public class EnderChestBlockEntity extends BlockEntity implements ChestAnimationProgress
- Mappings:
Namespace Name official cggintermediary net/minecraft/class_2611named net/minecraft/block/entity/EnderChestBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private ChestLidAnimatorlidAnimatorprivate ChestStateManagerstateManagerFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description EnderChestBlockEntity(BlockPos pos, BlockState state) -
Method Summary
Modifier and Type Method Description booleancanPlayerUse(PlayerEntity player)static voidclientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity)floatgetAnimationProgress(float tickDelta)voidonClose(PlayerEntity player)voidonOpen(PlayerEntity player)voidonScheduledTick()booleanonSyncedBlockEvent(int type, int data)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, fromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toTag, toUpdatePacket
-
Field Details
-
lidAnimator
- Mappings:
Namespace Name Mixin selector official aLcgg;a:Lcfx;intermediary field_27216Lnet/minecraft/class_2611;field_27216:Lnet/minecraft/class_5560;named lidAnimatorLnet/minecraft/block/entity/EnderChestBlockEntity;lidAnimator:Lnet/minecraft/block/entity/ChestLidAnimator;
-
stateManager
- Mappings:
Namespace Name Mixin selector official bLcgg;b:Lcgb;intermediary field_27217Lnet/minecraft/class_2611;field_27217:Lnet/minecraft/class_5561;named stateManagerLnet/minecraft/block/entity/EnderChestBlockEntity;stateManager:Lnet/minecraft/block/entity/ChestStateManager;
-
-
Constructor Details
-
EnderChestBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>Lcgg;<init>(Lfx;Lcht;)Vintermediary <init>Lnet/minecraft/class_2611;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/EnderChestBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
clientTick
public static void clientTick(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity)- Mappings:
Namespace Name Mixin selector official aLcgg;a(Lbtv;Lfx;Lcht;Lcgg;)Vintermediary method_31689Lnet/minecraft/class_2611;method_31689(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2611;)Vnamed clientTickLnet/minecraft/block/entity/EnderChestBlockEntity;clientTick(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/entity/EnderChestBlockEntity;)V
-
onSyncedBlockEvent
public boolean onSyncedBlockEvent(int type, int data)- Overrides:
onSyncedBlockEventin classBlockEntity- Mappings:
Namespace Name Mixin selector official a_Lcfr;a_(II)Zintermediary method_11004Lnet/minecraft/class_2586;method_11004(II)Znamed onSyncedBlockEventLnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
onOpen
- Mappings:
Namespace Name Mixin selector official aLcgg;a(Lbhl;)Vintermediary method_11219Lnet/minecraft/class_2611;method_11219(Lnet/minecraft/class_1657;)Vnamed onOpenLnet/minecraft/block/entity/EnderChestBlockEntity;onOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
-
onClose
- Mappings:
Namespace Name Mixin selector official bLcgg;b(Lbhl;)Vintermediary method_11220Lnet/minecraft/class_2611;method_11220(Lnet/minecraft/class_1657;)Vnamed onCloseLnet/minecraft/block/entity/EnderChestBlockEntity;onClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canPlayerUse
- Mappings:
Namespace Name Mixin selector official cLcgg;c(Lbhl;)Zintermediary method_11218Lnet/minecraft/class_2611;method_11218(Lnet/minecraft/class_1657;)Znamed canPlayerUseLnet/minecraft/block/entity/EnderChestBlockEntity;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onScheduledTick
public void onScheduledTick()- Mappings:
Namespace Name Mixin selector official dLcgg;d()Vintermediary method_31690Lnet/minecraft/class_2611;method_31690()Vnamed onScheduledTickLnet/minecraft/block/entity/EnderChestBlockEntity;onScheduledTick()V
-
getAnimationProgress
- Specified by:
getAnimationProgressin interfaceChestAnimationProgress- Mappings:
Namespace Name Mixin selector official aLcgn;a(F)Fintermediary method_11274Lnet/minecraft/class_2618;method_11274(F)Fnamed getAnimationProgressLnet/minecraft/client/block/ChestAnimationProgress;getAnimationProgress(F)F
-