Uses of Interface
dev.wyck.worldgen.surface.rule.RuleSource
Packages that use RuleSource
Package
Description
-
Uses of RuleSource in dev.wyck.worldgen.surface
Methods in dev.wyck.worldgen.surface with parameters of type RuleSourceModifier and TypeMethodDescriptionstatic ConditionRuleSourceSurfaceRule.ifTrue(ConditionSource condition, RuleSource then) Applies a rule only when a condition holds.static SequenceRuleSourceSurfaceRule.sequence(RuleSource... rules) Evaluates rules in order, using the first that applies.Method parameters in dev.wyck.worldgen.surface with type arguments of type RuleSourceModifier and TypeMethodDescriptionstatic SequenceRuleSourceSurfaceRule.sequence(List<RuleSource> rules) Evaluates rules in order, using the first that applies. -
Uses of RuleSource in dev.wyck.worldgen.surface.condition
Methods in dev.wyck.worldgen.surface.condition with parameters of type RuleSourceModifier and TypeMethodDescriptiondefault ConditionRuleSourceConditionSource.then(RuleSource then) Applies a rule only where this condition holds. -
Uses of RuleSource in dev.wyck.worldgen.surface.rule
Subinterfaces of RuleSource in dev.wyck.worldgen.surface.ruleModifier and TypeInterfaceDescriptioninterfaceThe badlands banded-terracotta rule.interfacePlaces the given block's default state at the surface.interfaceApplies a rule only when a condition holds.interfaceEvaluates rules in order, using the first that applies.Methods in dev.wyck.worldgen.surface.rule that return RuleSourceModifier and TypeMethodDescriptionstatic RuleSourceReads a Minecraft surface-rule source.ConditionRuleSource.then()The rule applied when the condition holds.Methods in dev.wyck.worldgen.surface.rule that return types with arguments of type RuleSourceMethods in dev.wyck.worldgen.surface.rule with parameters of type RuleSourceModifier and TypeMethodDescriptionstatic ConditionRuleSourceConditionRuleSource.of(ConditionSource condition, RuleSource then) Creates a new condition rule source.static SequenceRuleSourceSequenceRuleSource.of(RuleSource... rules) Creates a new sequence rule source.SequenceRuleSource.Builder.rule(RuleSource rule) Adds a rule to the sequence.SequenceRuleSource.Builder.rules(RuleSource... rules) Adds rules to the sequence.Method parameters in dev.wyck.worldgen.surface.rule with type arguments of type RuleSourceModifier and TypeMethodDescriptionstatic SequenceRuleSourceSequenceRuleSource.of(List<RuleSource> rules) Creates a new sequence rule source.SequenceRuleSource.Builder.rules(List<RuleSource> rules) Adds rules to the sequence.