Class SurfaceRules.BiomeConditionSource
java.lang.Object
net.minecraft.world.level.levelgen.SurfaceRules.BiomeConditionSource
- All Implemented Interfaces:
Function<SurfaceRules.Context, SurfaceRules.Condition>, SurfaceRules.ConditionSource
- Enclosing class:
SurfaceRules
private static final class SurfaceRules.BiomeConditionSource
extends Object
implements SurfaceRules.ConditionSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Predicate<ResourceKey<Biome>> private final List<ResourceKey<Biome>> private static final KeyDispatchDataCodec<SurfaceRules.BiomeConditionSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SurfaceRules.Context ruleContext) KeyDispatchDataCodec<? extends SurfaceRules.ConditionSource> codec()booleaninthashCode()toString()
-
Field Details
-
CODEC
-
biomes
-
biomeNameTest
-
-
Constructor Details
-
BiomeConditionSource
-
-
Method Details
-
codec
- Specified by:
codecin interfaceSurfaceRules.ConditionSource
-
apply
- Specified by:
applyin interfaceFunction<SurfaceRules.Context, SurfaceRules.Condition>
-
equals
-
hashCode
-
toString
-