net.minecraft.block.entity

public interface Spawner

net.minecraft.world.level.Spawner
net.minecraft.world.level.Spawner
net.minecraft.class_8959
net.minecraft.block.entity.Spawner

Method summary

Modifier and TypeMethod
void
setEntityId(EntityType<?> type, RandomSource random)
setEntityId(EntityType<?> type, RandomSource random)
method_46408(class_1299<?> arg0, class_5819 arg1)
setEntityType(EntityType<?> type, Random random)
static void
appendHoverText(TypedEntityData<BlockEntityType<?>> data, Consumer<Component> consumer, String nextSpawnDataTagKey)
appendHoverText(TypedEntityData<BlockEntityType<?>> data, Consumer<Component> consumer, String nextSpawnDataTagKey)
method_55121(class_11580<class_2591<?>> arg0, Consumer<class_2561> arg1, String arg2)
appendSpawnDataToTooltip(TypedEntityData<BlockEntityType<?>> nbtComponent, Consumer<Text> textConsumer, String spawnDataKey)
static Text
getSpawnEntityDisplayName(TypedEntityData<BlockEntityType<?>> data, String nextSpawnDataTagKey)
getSpawnEntityDisplayName(TypedEntityData<BlockEntityType<?>> data, String nextSpawnDataTagKey)
method_55120(class_11580<class_2591<?>> arg0, String arg1)
getSpawnedEntityText(TypedEntityData<BlockEntityType<?>> nbtComponent, String spawnDataKey)