net.minecraft.world.level

public interface Spawner

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

Method summary

Modifier and TypeMethod
void
a(bwj<?> arg0, azt arg1)
setEntityId(EntityType<?> arg0, RandomSource arg1)
method_46408(class_1299<?> arg0, class_5819 arg1)
setEntityType(EntityType<?> type, Random random)
static void
a(dba arg0, Consumer<ww> arg1, String arg2)
appendHoverText(CustomData arg0, Consumer<Component> arg1, String arg2)
method_55121(class_9279 arg0, Consumer<class_2561> arg1, String arg2)
appendSpawnDataToTooltip(NbtComponent arg0, Consumer<Text> arg1, String spawnDataKey)
static Component
a(dba arg0, String arg1)
getSpawnEntityDisplayName(CustomData arg0, String arg1)
method_55120(class_9279 arg0, String arg1)
getSpawnedEntityText(NbtComponent arg0, String spawnDataKey)
private static ResourceLocation
a(tx arg0, String arg1)
getEntityKey(CompoundTag arg0, String arg1)
method_55122(class_2487 arg0, String arg1)
getSpawnedEntityId(NbtCompound nbt, String spawnDataKey)