Package net.minecraftforge.common.world
Class NoneBiomeModifier
java.lang.Object
net.minecraftforge.common.world.NoneBiomeModifier
- All Implemented Interfaces:
- BiomeModifier
Noop biome modifier. Can be used in a biome modifier json with "type": "forge:none".
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraftforge.common.world.BiomeModifierBiomeModifier.Phase
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NoneBiomeModifier>static final NoneBiomeModifierFields inherited from interface net.minecraftforge.common.world.BiomeModifierDIRECT_CODEC, LIST_CODEC, REFERENCE_CODEC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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
- 
CODEC
 
- 
- 
Constructor Details- 
NoneBiomeModifierpublic NoneBiomeModifier()
 
- 
- 
Method Details- 
modifypublic 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 interface- BiomeModifier
- 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 interface- BiomeModifier
- Returns:
- the codec which serializes and deserializes this biome modifier
 
 
-