Uses of Record Class
net.minecraft.world.level.levelgen.structure.StructureSpawnOverride
Package
Description
-
Uses of StructureSpawnOverride in net.minecraft.data.worldgen
Modifier and TypeMethodDescriptionstatic Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_256015_, Map<MobCategory, StructureSpawnOverride> p_256297_, GenerationStep.Decoration p_255729_, TerrainAdjustment p_255865_) -
Uses of StructureSpawnOverride in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<StructureSpawnOverride> StructureSpawnOverride.CODEC
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.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)