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 dsl
  • 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 Ldsl;a(Lcee;Lbfq;)V
    • appendSpawnDataToTooltip

      static void appendSpawnDataToTooltip(@Nullable @Nullable TypedEntityData<BlockEntityType<?>> nbtComponent, Consumer<Text> textConsumer, String spawnDataKey)
      Mappings:
      Namespace Name Mixin selector
      named appendSpawnDataToTooltip Lnet/minecraft/block/entity/Spawner;appendSpawnDataToTooltip(Lnet/minecraft/entity/TypedEntityData;Ljava/util/function/Consumer;Ljava/lang/String;)V
      intermediary method_55121 Lnet/minecraft/class_8959;method_55121(Lnet/minecraft/class_11580;Ljava/util/function/Consumer;Ljava/lang/String;)V
      official a Ldsl;a(Ldkw;Ljava/util/function/Consumer;Ljava/lang/String;)V
    • getSpawnedEntityText

      @Nullable static @Nullable Text getSpawnedEntityText(@Nullable @Nullable TypedEntityData<BlockEntityType<?>> nbtComponent, String spawnDataKey)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnedEntityText Lnet/minecraft/block/entity/Spawner;getSpawnedEntityText(Lnet/minecraft/entity/TypedEntityData;Ljava/lang/String;)Lnet/minecraft/text/Text;
      intermediary method_55120 Lnet/minecraft/class_8959;method_55120(Lnet/minecraft/class_11580;Ljava/lang/String;)Lnet/minecraft/class_2561;
      official a Ldsl;a(Ldkw;Ljava/lang/String;)Lxx;