Interface BiomeModificationContext.Spawns
- Enclosing class:
BiomeModificationContext
public static interface BiomeModificationContext.Spawns
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharge(net.minecraft.world.entity.EntityType<?> entityType, double charge, double energyBudget) voidaddSpawn(net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData data, int weight) voidremoveCharge(net.minecraft.world.entity.EntityType<?> entityType) voidremoveSpawn(net.minecraft.world.entity.EntityType<?> entityType)
-
Method Details
-
addSpawn
void addSpawn(net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData data, int weight) -
removeSpawn
void removeSpawn(net.minecraft.world.entity.EntityType<?> entityType) -
addCharge
void addCharge(net.minecraft.world.entity.EntityType<?> entityType, double charge, double energyBudget) -
removeCharge
void removeCharge(net.minecraft.world.entity.EntityType<?> entityType)
-