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 dic
  • Method Details

    • setEntityType

      void setEntityType(EntityType<?> type, Random random)
      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 Ldic;a(Lbvq;Lbam;)V
    • appendSpawnDataToTooltip

      static void appendSpawnDataToTooltip(ItemStack stack, List<Text> tooltip, String spawnDataKey)
      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 Ldic;a(Lcxo;Ljava/util/List;Ljava/lang/String;)V
    • getSpawnedEntityText

      @Nullable static @Nullable Text getSpawnedEntityText(ItemStack stack, String spawnDataKey)
      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 Ldic;a(Lcxo;Ljava/lang/String;)Lxv;
    • 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 Ldic;a(Lux;Ljava/lang/String;)Lalz;