Package net.minecraft.block.entity
Class MobSpawnerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.MobSpawnerBlockEntity
- All Implemented Interfaces:
Tickable
public class MobSpawnerBlockEntity extends BlockEntity implements Tickable
- Mappings:
Namespace Name official allintermediary net/minecraft/class_364named net/minecraft/block/entity/MobSpawnerBlockEntity
-
Field Summary
Fields Modifier and Type Field Description private SpawnerBlockEntityBehaviorfield_1456Fields inherited from class net.minecraft.block.entity.BlockEntity
block, pos, removed, world -
Constructor Summary
Constructors Constructor Description MobSpawnerBlockEntity() -
Method Summary
Modifier and Type Method Description voidfromTag(CompoundTag tag)PacketgetPacket()SpawnerBlockEntityBehaviormethod_1174()booleanonBlockAction(int int2, int int3)booleanshouldNotCopyTagFromItem()voidtick()voidtoTag(CompoundTag tag)Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createFromTag, getBlock, getDataValue, getPos, getSquaredDistance, getSquaredRenderDistance, getWorld, hasWorld, isRemoved, markDirty, markRemoved, populateCrashReport, resetBlock, setPos, setWorld
-
Field Details
-
field_1456
- Mappings:
Namespace Name Mixin selector official aLall;a:Ladd;intermediary field_1456Lnet/minecraft/class_364;field_1456:Lnet/minecraft/class_88;named field_1456Lnet/minecraft/block/entity/MobSpawnerBlockEntity;field_1456:Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;
-
-
Constructor Details
-
MobSpawnerBlockEntity
public MobSpawnerBlockEntity()
-
-
Method Details
-
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
-
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
-
tick
public void tick() -
getPacket
- Overrides:
getPacketin classBlockEntity- Mappings:
Namespace Name Mixin selector official y_Lakw;y_()Lff;intermediary method_1111Lnet/minecraft/class_348;method_1111()Lnet/minecraft/class_1457;named getPacketLnet/minecraft/block/entity/BlockEntity;getPacket()Lnet/minecraft/network/Packet;
-
onBlockAction
public boolean onBlockAction(int int2, int int3)- Overrides:
onBlockActionin classBlockEntity- Mappings:
Namespace Name Mixin selector official cLakw;c(II)Zintermediary method_1101Lnet/minecraft/class_348;method_1101(II)Znamed onBlockActionLnet/minecraft/block/entity/BlockEntity;onBlockAction(II)Z
-
shouldNotCopyTagFromItem
public boolean shouldNotCopyTagFromItem()- Overrides:
shouldNotCopyTagFromItemin classBlockEntity- Mappings:
Namespace Name Mixin selector official FLakw;F()Zintermediary method_1092Lnet/minecraft/class_348;method_1092()Znamed shouldNotCopyTagFromItemLnet/minecraft/block/entity/BlockEntity;shouldNotCopyTagFromItem()Z
-
method_1174
- Mappings:
Namespace Name Mixin selector official bLall;b()Ladd;intermediary method_1174Lnet/minecraft/class_364;method_1174()Lnet/minecraft/class_88;named method_1174Lnet/minecraft/block/entity/MobSpawnerBlockEntity;method_1174()Lnet/minecraft/block/entity/SpawnerBlockEntityBehavior;
-