Package net.minecraft.block.entity
Class BlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
- Direct Known Subclasses:
BeaconBlockEntity,BrewingStandBlockEntity,ChestBlockEntity,CommandBlockBlockEntity,ComparatorBlockEntity,DaylightDetectorBlockEntity,DispenserBlockEntity,EnchantingTableBlockEntity,EnderChestBlockEntity,EndPortalBlockEntity,FlowerPotBlockEntity,FurnaceBlockEntity,HopperBlockEntity,JukeboxBlockEntity,MobSpawnerBlockEntity,NoteBlockBlockEntity,PistonBlockEntity,SignBlockEntity,SkullBlockEntity
- Mappings:
Namespace Name official ancintermediary net/minecraft/class_226named net/minecraft/block/entity/BlockEntity
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic BlockEntitycreateFromNbt(NbtCompound nbt) voidfromNbt(NbtCompound nbt) getBlock()intdoublegetSquaredDistance(double x, double y, double z) doublebooleanhasWorld()booleanvoidvoidvoidbooleanonBlockAction(int int2, int int3) voidpopulateCrashReport(CrashReportSection section) private static voidregisterBlockEntity(Class clazz, String stringId) voidvoidvoidtoNbt(NbtCompound nbt)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLanc;a:Lorg/apache/logging/log4j/Logger;intermediary field_7494Lnet/minecraft/class_226;field_7494:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/block/entity/BlockEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
stringClassMap
- Mappings:
Namespace Name Mixin selector official iLanc;i:Ljava/util/Map;intermediary field_563Lnet/minecraft/class_226;field_563:Ljava/util/Map;named stringClassMapLnet/minecraft/block/entity/BlockEntity;stringClassMap:Ljava/util/Map;
-
classStringMap
- Mappings:
Namespace Name Mixin selector official jLanc;j:Ljava/util/Map;intermediary field_564Lnet/minecraft/class_226;field_564:Ljava/util/Map;named classStringMapLnet/minecraft/block/entity/BlockEntity;classStringMap:Ljava/util/Map;
-
world
- Mappings:
Namespace Name Mixin selector official bLanc;b:Lafm;intermediary field_565Lnet/minecraft/class_226;field_565:Lnet/minecraft/class_1150;named worldLnet/minecraft/block/entity/BlockEntity;world:Lnet/minecraft/world/World;
-
x
public int x- Mappings:
Namespace Name Mixin selector official cLanc;c:Iintermediary field_566Lnet/minecraft/class_226;field_566:Inamed xLnet/minecraft/block/entity/BlockEntity;x:I
-
y
public int y- Mappings:
Namespace Name Mixin selector official dLanc;d:Iintermediary field_567Lnet/minecraft/class_226;field_567:Inamed yLnet/minecraft/block/entity/BlockEntity;y:I
-
z
public int z- Mappings:
Namespace Name Mixin selector official eLanc;e:Iintermediary field_568Lnet/minecraft/class_226;field_568:Inamed zLnet/minecraft/block/entity/BlockEntity;z:I
-
removed
protected boolean removed- Mappings:
Namespace Name Mixin selector official fLanc;f:Zintermediary field_569Lnet/minecraft/class_226;field_569:Znamed removedLnet/minecraft/block/entity/BlockEntity;removed:Z
-
dataValue
public int dataValue- Mappings:
Namespace Name Mixin selector official gLanc;g:Iintermediary field_570Lnet/minecraft/class_226;field_570:Inamed dataValueLnet/minecraft/block/entity/BlockEntity;dataValue:I
-
block
- Mappings:
Namespace Name Mixin selector official hLanc;h:Laht;intermediary field_571Lnet/minecraft/class_226;field_571:Lnet/minecraft/class_197;named blockLnet/minecraft/block/entity/BlockEntity;block:Lnet/minecraft/block/Block;
-
-
Constructor Details
-
BlockEntity
public BlockEntity()
-
-
Method Details
-
registerBlockEntity
- Mappings:
Namespace Name Mixin selector official aLanc;a(Ljava/lang/Class;Ljava/lang/String;)Vintermediary method_538Lnet/minecraft/class_226;method_538(Ljava/lang/Class;Ljava/lang/String;)Vnamed registerBlockEntityLnet/minecraft/block/entity/BlockEntity;registerBlockEntity(Ljava/lang/Class;Ljava/lang/String;)V
-
getEntityWorld
- Mappings:
Namespace Name Mixin selector official wLanc;w()Lafm;intermediary method_548Lnet/minecraft/class_226;method_548()Lnet/minecraft/class_1150;named getEntityWorldLnet/minecraft/block/entity/BlockEntity;getEntityWorld()Lnet/minecraft/world/World;
-
setWorld
- Mappings:
Namespace Name Mixin selector official aLanc;a(Lafm;)Vintermediary method_539Lnet/minecraft/class_226;method_539(Lnet/minecraft/class_1150;)Vnamed setWorldLnet/minecraft/block/entity/BlockEntity;setWorld(Lnet/minecraft/world/World;)V
-
hasWorld
public boolean hasWorld()- Mappings:
Namespace Name Mixin selector official oLanc;o()Zintermediary method_549Lnet/minecraft/class_226;method_549()Znamed hasWorldLnet/minecraft/block/entity/BlockEntity;hasWorld()Z
-
fromNbt
- Mappings:
Namespace Name Mixin selector official aLanc;a(Ldg;)Vintermediary method_537Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)Vnamed fromNbtLnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
toNbt
- Mappings:
Namespace Name Mixin selector official bLanc;b(Ldg;)Vintermediary method_541Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Vnamed toNbtLnet/minecraft/block/entity/BlockEntity;toNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_545
public void method_545()- Mappings:
Namespace Name Mixin selector official hLanc;h()Vintermediary method_545Lnet/minecraft/class_226;method_545()Vnamed method_545Lnet/minecraft/block/entity/BlockEntity;method_545()V
-
createFromNbt
- Mappings:
Namespace Name Mixin selector official cLanc;c(Ldg;)Lanc;intermediary method_542Lnet/minecraft/class_226;method_542(Lnet/minecraft/class_322;)Lnet/minecraft/class_226;named createFromNbtLnet/minecraft/block/entity/BlockEntity;createFromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/BlockEntity;
-
getDataValue
public int getDataValue()- Mappings:
Namespace Name Mixin selector official pLanc;p()Iintermediary method_550Lnet/minecraft/class_226;method_550()Inamed getDataValueLnet/minecraft/block/entity/BlockEntity;getDataValue()I
-
markDirty
public void markDirty()- Mappings:
Namespace Name Mixin selector official eLanc;e()Vintermediary method_543Lnet/minecraft/class_226;method_543()Vnamed markDirtyLnet/minecraft/block/entity/BlockEntity;markDirty()V
-
getSquaredDistance
- Mappings:
Namespace Name Mixin selector official aLanc;a(DDD)Dintermediary method_536Lnet/minecraft/class_226;method_536(DDD)Dnamed getSquaredDistanceLnet/minecraft/block/entity/BlockEntity;getSquaredDistance(DDD)D
-
getSquaredRenderDistance
- Mappings:
Namespace Name Mixin selector official nLanc;n()Dintermediary method_4216Lnet/minecraft/class_226;method_4216()Dnamed getSquaredRenderDistanceLnet/minecraft/block/entity/BlockEntity;getSquaredRenderDistance()D
-
getBlock
- Mappings:
Namespace Name Mixin selector official qLanc;q()Laht;intermediary method_551Lnet/minecraft/class_226;method_551()Lnet/minecraft/class_197;named getBlockLnet/minecraft/block/entity/BlockEntity;getBlock()Lnet/minecraft/block/Block;
-
getPacket
- Mappings:
Namespace Name Mixin selector official mLanc;m()Lfj;intermediary method_544Lnet/minecraft/class_226;method_544()Lnet/minecraft/class_700;named getPacketLnet/minecraft/block/entity/BlockEntity;getPacket()Lnet/minecraft/network/Packet;
-
isRemoved
public boolean isRemoved()- Mappings:
Namespace Name Mixin selector official rLanc;r()Zintermediary method_552Lnet/minecraft/class_226;method_552()Znamed isRemovedLnet/minecraft/block/entity/BlockEntity;isRemoved()Z
-
markRemoved
public void markRemoved()- Mappings:
Namespace Name Mixin selector official sLanc;s()Vintermediary method_547Lnet/minecraft/class_226;method_547()Vnamed markRemovedLnet/minecraft/block/entity/BlockEntity;markRemoved()V
-
cancelRemoval
public void cancelRemoval()- Mappings:
Namespace Name Mixin selector official tLanc;t()Vintermediary method_553Lnet/minecraft/class_226;method_553()Vnamed cancelRemovalLnet/minecraft/block/entity/BlockEntity;cancelRemoval()V
-
onBlockAction
public boolean onBlockAction(int int2, int int3) - Mappings:
Namespace Name Mixin selector official cLanc;c(II)Zintermediary method_4838Lnet/minecraft/class_226;method_4838(II)Znamed onBlockActionLnet/minecraft/block/entity/BlockEntity;onBlockAction(II)Z
-
resetBlock
public void resetBlock()- Mappings:
Namespace Name Mixin selector official uLanc;u()Vintermediary method_546Lnet/minecraft/class_226;method_546()Vnamed resetBlockLnet/minecraft/block/entity/BlockEntity;resetBlock()V
-
populateCrashReport
- Mappings:
Namespace Name Mixin selector official aLanc;a(Lk;)Vintermediary method_4215Lnet/minecraft/class_226;method_4215(Lnet/minecraft/class_1392;)Vnamed populateCrashReportLnet/minecraft/block/entity/BlockEntity;populateCrashReport(Lnet/minecraft/util/crash/CrashReportSection;)V
-