Uses of Record Class
net.minecraft.world.level.levelgen.structure.StructureSpawnOverride
Package
Description
-
Uses of StructureSpawnOverride in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<StructureSpawnOverride> StructureSpawnOverride.CODEC
private Map
<MobCategory, StructureSpawnOverride> Structure.StructureSettings.Builder.spawnOverrides
private final Map
<MobCategory, StructureSpawnOverride> Structure.StructureSettings.spawnOverrides
The field for thespawnOverrides
record component.Modifier and TypeMethodDescriptionStructure.spawnOverrides()
Structure.StructureSettings.spawnOverrides()
Returns the value of thespawnOverrides
record component.Modifier and TypeMethodDescriptionStructure.StructureSettings.Builder.spawnOverrides
(Map<MobCategory, StructureSpawnOverride> p_352057_) ModifierConstructorDescriptionStructureSettings
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) Creates an instance of aStructureSettings
record class. -
Uses of StructureSpawnOverride in net.neoforged.neoforge.common.world
Modifier and TypeMethodDescriptionStructureSettingsBuilder.StructureSpawnOverrideBuilder.copyOf
(StructureSpawnOverride override) ModifierConstructorDescriptionprivate
StructureSettingsBuilder
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation)