Package net.minecraftforge.common.world
Class MobSpawnInfoBuilder
java.lang.Object
net.minecraft.world.level.biome.MobSpawnSettings.Builder
net.minecraftforge.common.world.MobSpawnInfoBuilder
-
Field Summary
Fields inherited from class net.minecraft.world.level.biome.MobSpawnSettings.Builder
creatureGenerationProbability, mobSpawnCosts, playerCanSpawn, spawners
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCost(EntityType<?> type)
Set<EntityType<?>>
float
getSpawner(MobCategory type)
Methods inherited from class net.minecraft.world.level.biome.MobSpawnSettings.Builder
addMobCharge, addSpawn, build, creatureGenerationProbability, setPlayerCanSpawn
-
Field Details
-
typesView
-
costView
-
-
Constructor Details
-
MobSpawnInfoBuilder
-
-
Method Details
-
getSpawnerTypes
-
getSpawner
-
getEntityTypes
-
getCost
-
getProbability
public float getProbability() -
disablePlayerSpawn
-