public interface BiomeResolverCustom
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.world.biome.Biome |
getCustomBiome(int x,
int z)
Gets a custom biome to overwrite the original biome at given coordinates.
|
java.util.function.Predicate<BiomeInjectionRules.BiomeInjectionContext> |
getCustomPredicate()
Gets the predicate with which to check whether to use
getCustomBiome. |
default boolean |
useCustomResolver()
Check if the predicate should be added to the list of injection rules.
|
default boolean useCustomResolver()
java.util.function.Predicate<BiomeInjectionRules.BiomeInjectionContext> getCustomPredicate()
getCustomBiome.net.minecraft.world.biome.Biome getCustomBiome(int x,
int z)
x - x-coordinate.z - z-coordinate.