Interface SurfaceRules.ConditionSource
- All Superinterfaces:
Function<SurfaceRules.Context,
SurfaceRules.Condition>
- All Known Implementing Classes:
SurfaceRules.AbovePreliminarySurface
,SurfaceRules.BiomeConditionSource
,SurfaceRules.Hole
,SurfaceRules.NoiseThresholdConditionSource
,SurfaceRules.NotConditionSource
,SurfaceRules.Steep
,SurfaceRules.StoneDepthCheck
,SurfaceRules.Temperature
,SurfaceRules.VerticalGradientConditionSource
,SurfaceRules.WaterConditionSource
,SurfaceRules.YConditionSource
- Enclosing class:
SurfaceRules
public static interface SurfaceRules.ConditionSource
extends Function<SurfaceRules.Context,SurfaceRules.Condition>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SurfaceRules.ConditionSource> -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends SurfaceRules.ConditionSource> bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> p_204625_) KeyDispatchDataCodec
<? extends SurfaceRules.ConditionSource> codec()
-
Field Details
-
CODEC
-
-
Method Details
-
bootstrap
static com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource> bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.ConditionSource>> p_204625_) -
codec
KeyDispatchDataCodec<? extends SurfaceRules.ConditionSource> codec()
-