Interface Spawner

All Known Implementing Classes:
MobSpawnerBlockEntity, TrialSpawnerBlockEntity

public interface Spawner
Mappings:
Namespace Name
official cuh
intermediary net/minecraft/class_8959
named net/minecraft/block/entity/Spawner
  • Method Details

    • setEntityType

      void setEntityType(EntityType<?> type, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcuh;a(Lblz;Lauv;)V
      intermediary method_46408 Lnet/minecraft/class_8959;method_46408(Lnet/minecraft/class_1299;Lnet/minecraft/class_5819;)V
      named setEntityType Lnet/minecraft/block/entity/Spawner;setEntityType(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/math/random/Random;)V
    • appendSpawnDataToTooltip

      static void appendSpawnDataToTooltip(ItemStack stack, List<Text> tooltip, String spawnDataKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lcuh;a(Lcmy;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
      named appendSpawnDataToTooltip Lnet/minecraft/block/entity/Spawner;appendSpawnDataToTooltip(Lnet/minecraft/item/ItemStack;Ljava/util/List;Ljava/lang/String;)V
    • getSpawnedEntityText

      @Nullable static @Nullable Text getSpawnedEntityText(ItemStack stack, String spawnDataKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lcuh;a(Lcmy;Ljava/lang/String;)Lvf;
      intermediary method_55120 Lnet/minecraft/class_8959;method_55120(Lnet/minecraft/class_1799;Ljava/lang/String;)Lnet/minecraft/class_2561;
      named getSpawnedEntityText Lnet/minecraft/block/entity/Spawner;getSpawnedEntityText(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)Lnet/minecraft/text/Text;
    • getSpawnedEntityId

      @Nullable private static @Nullable Identifier getSpawnedEntityId(NbtCompound nbt, String spawnDataKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lcuh;a(Lsn;Ljava/lang/String;)Lahg;
      intermediary method_55122 Lnet/minecraft/class_8959;method_55122(Lnet/minecraft/class_2487;Ljava/lang/String;)Lnet/minecraft/class_2960;
      named getSpawnedEntityId Lnet/minecraft/block/entity/Spawner;getSpawnedEntityId(Lnet/minecraft/nbt/NbtCompound;Ljava/lang/String;)Lnet/minecraft/util/Identifier;