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
static final class SurfaceRules.BiomeConditionSource
extends Object
implements SurfaceRules.ConditionSource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Predicate<ResourceKey<Biome>> private final List<ResourceKey<Biome>> (package private) static final KeyDispatchDataCodec<SurfaceRules.BiomeConditionSource> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(SurfaceRules.Context p_189496_) KeyDispatchDataCodec<? extends SurfaceRules.ConditionSource> codec()booleaninthashCode()toString()
-
Field Details
-
CODEC
-
biomes
-
biomeNameTest
-
-
Constructor Details
-
BiomeConditionSource
BiomeConditionSource(List<ResourceKey<Biome>> p_189493_)
-
-
Method Details
-
codec
- Specified by:
codecin interfaceSurfaceRules.ConditionSource
-
apply
- Specified by:
applyin interfaceFunction<SurfaceRules.Context,SurfaceRules.Condition>
-
equals
-
hashCode
public int hashCode() -
toString
-