Package net.minecraft.block.entity
Interface Spawner
- All Known Implementing Classes:
MobSpawnerBlockEntity
,TrialSpawnerBlockEntity
public interface Spawner
- Mappings:
Namespace Name named net/minecraft/block/entity/Spawner
intermediary net/minecraft/class_8959
official dcz
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
appendSpawnDataToTooltip
(ItemStack stack, List<Text> tooltip, String spawnDataKey) private static @Nullable Identifier
getSpawnedEntityId
(NbtCompound nbt, String spawnDataKey) getSpawnedEntityText
(ItemStack stack, String spawnDataKey) void
setEntityType
(EntityType<?> type, Random random)
-
Method Details
-
setEntityType
- Mappings:
Namespace Name Mixin selector named setEntityType
Lnet/minecraft/block/entity/Spawner;setEntityType(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/random/Random;)V
intermediary method_46408
Lnet/minecraft/class_8959;method_46408(Lnet/minecraft/class_1299;Lnet/minecraft/class_5819;)V
official a
Ldcz;a(Lbsn;Layo;)V
-
appendSpawnDataToTooltip
- Mappings:
Namespace Name Mixin selector named appendSpawnDataToTooltip
Lnet/minecraft/block/entity/Spawner;appendSpawnDataToTooltip(Lnet/minecraft/item/ItemStack;Ljava/util/List;Ljava/lang/String;)V
intermediary method_55121
Lnet/minecraft/class_8959;method_55121(Lnet/minecraft/class_1799;Ljava/util/List;Ljava/lang/String;)V
official a
Ldcz;a(Lcud;Ljava/util/List;Ljava/lang/String;)V
-
getSpawnedEntityText
- Mappings:
Namespace Name Mixin selector named getSpawnedEntityText
Lnet/minecraft/block/entity/Spawner;getSpawnedEntityText(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)Lnet/minecraft/text/Text;
intermediary method_55120
Lnet/minecraft/class_8959;method_55120(Lnet/minecraft/class_1799;Ljava/lang/String;)Lnet/minecraft/class_2561;
official a
Ldcz;a(Lcud;Ljava/lang/String;)Lwu;
-
getSpawnedEntityId
@Nullable private static @Nullable Identifier getSpawnedEntityId(NbtCompound nbt, String spawnDataKey) - Mappings:
Namespace Name Mixin selector named getSpawnedEntityId
Lnet/minecraft/block/entity/Spawner;getSpawnedEntityId(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
intermediary method_55122
Lnet/minecraft/class_8959;method_55122(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_2960;
official a
Ldcz;a(Ltx;Ljava/lang/String;)Lakk;
-