Package net.minecraft.block.entity
Class EnderChestBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.EnderChestBlockEntity
- All Implemented Interfaces:
LidOpenable
- Mappings:
Namespace Name official cxb
intermediary net/minecraft/class_2611
named net/minecraft/block/entity/EnderChestBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlayerUse
(PlayerEntity player) static void
clientTick
(World world, BlockPos pos, BlockState state, EnderChestBlockEntity blockEntity) float
getAnimationProgress
(float tickDelta) void
onClose
(PlayerEntity player) void
onOpen
(PlayerEntity player) void
boolean
onSyncedBlockEvent
(int type, int data) If this block entity's block extendsBlockWithEntity
, this is called insideAbstractBlock.onSyncedBlockEvent(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, int, int)
.Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, posFromNbt, readNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt, writeNbt
-
Field Details
-
lidAnimator
- Mappings:
Namespace Name Mixin selector official a
Lcxb;a:Lcwr;
intermediary field_27216
Lnet/minecraft/class_2611;field_27216:Lnet/minecraft/class_5560;
named lidAnimator
Lnet/minecraft/block/entity/EnderChestBlockEntity;lidAnimator:Lnet/minecraft/block/entity/ChestLidAnimator;
-
stateManager
- Mappings:
Namespace Name Mixin selector official b
Lcxb;b:Lcww;
intermediary field_27217
Lnet/minecraft/class_2611;field_27217:Lnet/minecraft/class_5561;
named stateManager
Lnet/minecraft/block/entity/EnderChestBlockEntity;stateManager:Lnet/minecraft/block/entity/ViewerCountManager;
-
-
Constructor Details
-
EnderChestBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcxb;<init>(Lgp;Lcyt;)V
intermediary <init>
Lnet/minecraft/class_2611;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <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 a
Lcxb;a(Lcjw;Lgp;Lcyt;Lcxb;)V
intermediary method_31689
Lnet/minecraft/class_2611;method_31689(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2611;)V
named clientTick
Lnet/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) If this block entity's block extendsBlockWithEntity
, this is called insideAbstractBlock.onSyncedBlockEvent(net.minecraft.block.BlockState, net.minecraft.world.World, net.minecraft.util.math.BlockPos, int, int)
.- Overrides:
onSyncedBlockEvent
in classBlockEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a_
Lcwl;a_(II)Z
intermediary method_11004
Lnet/minecraft/class_2586;method_11004(II)Z
named onSyncedBlockEvent
Lnet/minecraft/block/entity/BlockEntity;onSyncedBlockEvent(II)Z
-
onOpen
- Mappings:
Namespace Name Mixin selector official a
Lcxb;a(Lbwp;)V
intermediary method_11219
Lnet/minecraft/class_2611;method_11219(Lnet/minecraft/class_1657;)V
named onOpen
Lnet/minecraft/block/entity/EnderChestBlockEntity;onOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
-
onClose
- Mappings:
Namespace Name Mixin selector official b
Lcxb;b(Lbwp;)V
intermediary method_11220
Lnet/minecraft/class_2611;method_11220(Lnet/minecraft/class_1657;)V
named onClose
Lnet/minecraft/block/entity/EnderChestBlockEntity;onClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-
canPlayerUse
- Mappings:
Namespace Name Mixin selector official c
Lcxb;c(Lbwp;)Z
intermediary method_11218
Lnet/minecraft/class_2611;method_11218(Lnet/minecraft/class_1657;)Z
named canPlayerUse
Lnet/minecraft/block/entity/EnderChestBlockEntity;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onScheduledTick
public void onScheduledTick()- Mappings:
Namespace Name Mixin selector official c
Lcxb;c()V
intermediary method_31690
Lnet/minecraft/class_2611;method_31690()V
named onScheduledTick
Lnet/minecraft/block/entity/EnderChestBlockEntity;onScheduledTick()V
-
getAnimationProgress
public float getAnimationProgress(float tickDelta) - Specified by:
getAnimationProgress
in interfaceLidOpenable
- Mappings:
Namespace Name Mixin selector official a
Lcxj;a(F)F
intermediary method_11274
Lnet/minecraft/class_2618;method_11274(F)F
named getAnimationProgress
Lnet/minecraft/block/entity/LidOpenable;getAnimationProgress(F)F
-