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 SummaryFieldsModifier and TypeFieldDescription(package private) final Predicate<ResourceKey<Biome>>private final List<ResourceKey<Biome>>(package private) static final KeyDispatchDataCodec<SurfaceRules.BiomeConditionSource>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapply(SurfaceRules.Context p_189496_) KeyDispatchDataCodec<? extends SurfaceRules.ConditionSource>codec()booleaninthashCode()toString()
- 
Field Details- 
CODEC
- 
biomes
- 
biomeNameTest
 
- 
- 
Constructor Details- 
BiomeConditionSourceBiomeConditionSource(List<ResourceKey<Biome>> p_189493_) 
 
- 
- 
Method Details- 
codec- Specified by:
- codecin interface- SurfaceRules.ConditionSource
 
- 
apply- Specified by:
- applyin interface- Function<SurfaceRules.Context,- SurfaceRules.Condition> 
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-