Package net.minecraft.block.entity
Interface Spawner
- All Known Implementing Classes:
MobSpawnerBlockEntity,TrialSpawnerBlockEntity
public interface Spawner
- Mappings:
Namespace Name named net/minecraft/block/entity/Spawnerintermediary net/minecraft/class_8959official dle
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendSpawnDataToTooltip(NbtComponent nbtComponent, Consumer<Text> textConsumer, String spawnDataKey) getSpawnedEntityText(NbtComponent nbtComponent, String spawnDataKey) voidsetEntityType(EntityType<?> type, Random random)
-
Method Details
-
setEntityType
- Mappings:
Namespace Name Mixin selector named setEntityTypeLnet/minecraft/block/entity/Spawner;setEntityType(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/random/Random;)Vintermediary method_46408Lnet/minecraft/class_8959;method_46408(Lnet/minecraft/class_1299;Lnet/minecraft/class_5819;)Vofficial aLdle;a(Lbxn;Lbai;)V
-
appendSpawnDataToTooltip
static void appendSpawnDataToTooltip(NbtComponent nbtComponent, Consumer<Text> textConsumer, String spawnDataKey) - Mappings:
Namespace Name Mixin selector named appendSpawnDataToTooltipLnet/minecraft/block/entity/Spawner;appendSpawnDataToTooltip(Lnet/minecraft/component/type/NbtComponent;Ljava/util/function/Consumer;Ljava/lang/String;)Vintermediary method_55121Lnet/minecraft/class_8959;method_55121(Lnet/minecraft/class_9279;Ljava/util/function/Consumer;Ljava/lang/String;)Vofficial aLdle;a(Ldcs;Ljava/util/function/Consumer;Ljava/lang/String;)V
-
getSpawnedEntityText
@Nullable static @Nullable Text getSpawnedEntityText(NbtComponent nbtComponent, String spawnDataKey) - Mappings:
Namespace Name Mixin selector named getSpawnedEntityTextLnet/minecraft/block/entity/Spawner;getSpawnedEntityText(Lnet/minecraft/component/type/NbtComponent;Ljava/lang/String;)Lnet/minecraft/text/Text;intermediary method_55120Lnet/minecraft/class_8959;method_55120(Lnet/minecraft/class_9279;Ljava/lang/String;)Lnet/minecraft/class_2561;official aLdle;a(Ldcs;Ljava/lang/String;)Lxg;
-