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