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