Interface SurfaceRules.RuleSource
- All Superinterfaces:
Function<SurfaceRules.Context,
SurfaceRules.SurfaceRule>
- All Known Implementing Classes:
SurfaceRules.Bandlands
,SurfaceRules.BlockRuleSource
,SurfaceRules.SequenceRuleSource
,SurfaceRules.TestRuleSource
- Enclosing class:
SurfaceRules
public static interface SurfaceRules.RuleSource
extends Function<SurfaceRules.Context,SurfaceRules.SurfaceRule>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<SurfaceRules.RuleSource> -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.MapCodec
<? extends SurfaceRules.RuleSource> bootstrap
(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> p_204631_) KeyDispatchDataCodec
<? extends SurfaceRules.RuleSource> codec()
-
Field Details
-
CODEC
-
-
Method Details
-
bootstrap
static com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource> bootstrap(Registry<com.mojang.serialization.MapCodec<? extends SurfaceRules.RuleSource>> p_204631_) -
codec
KeyDispatchDataCodec<? extends SurfaceRules.RuleSource> codec()
-