Package net.minecraftforge.common.world
Class MobSpawnSettingsBuilder
java.lang.Object
net.minecraft.world.level.biome.MobSpawnSettings.Builder
net.minecraftforge.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) 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
-