Class NoneBiomeModifier
java.lang.Object
net.neoforged.neoforge.common.world.NoneBiomeModifier
- All Implemented Interfaces:
 BiomeModifier
- 
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.neoforge.common.world.BiomeModifier
BiomeModifier.Phase - 
Field Summary
FieldsFields inherited from interface net.neoforged.neoforge.common.world.BiomeModifier
DIRECT_CODEC, LIST_CODEC, REFERENCE_CODEC - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends BiomeModifier>codec()voidmodify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder. 
- 
Field Details
- 
INSTANCE
 
 - 
 - 
Constructor Details
- 
NoneBiomeModifier
public NoneBiomeModifier() 
 - 
 - 
Method Details
- 
modify
public void modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Description copied from interface:BiomeModifierModifies the information via the provided biome builder. Allows mob spawns and world-gen features to be added or removed, and climate and client effects to be modified.- Specified by:
 modifyin interfaceBiomeModifier- Parameters:
 biome- the named biome being modified (with original data readable).phase- biome modification phase. Biome modifiers apply in each phase in order of the enum constants.builder- mutable biome info builder. Apply changes to this.
 - 
codec
- Specified by:
 codecin interfaceBiomeModifier- Returns:
 - the codec which serializes and deserializes this biome modifier
 
 
 -