@Deprecated public class BiomeModification extends Object
BiomeModifications
Constructor and Description |
---|
BiomeModification(net.minecraft.util.Identifier id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BiomeModification |
add(ModificationPhase phase,
Predicate<BiomeSelectionContext> selector,
BiConsumer<BiomeSelectionContext,BiomeModificationContext> modifier)
Deprecated.
Adds a modifier that is sensitive to the current state of the biome when it is applied.
|
BiomeModification |
add(ModificationPhase phase,
Predicate<BiomeSelectionContext> selector,
Consumer<BiomeModificationContext> modifier)
Deprecated.
Adds a modifier that is not sensitive to the current state of the biome when it is applied, examples
for this are modifiers that simply add or remove features unconditionally, or change other values
to constants.
|
@ApiStatus.Internal BiomeModification(net.minecraft.util.Identifier id)
public BiomeModification add(ModificationPhase phase, Predicate<BiomeSelectionContext> selector, Consumer<BiomeModificationContext> modifier)
public BiomeModification add(ModificationPhase phase, Predicate<BiomeSelectionContext> selector, BiConsumer<BiomeSelectionContext,BiomeModificationContext> modifier)
For modifiers that should only be applied if a given condition is met for a Biome, please add these conditions to the selector, and use a context-free modifier instead, as this will greatly help with debugging world generation issues.