Uses of Interface
net.minecraft.world.gen.surfacebuilder.MaterialRules.BlockStateRule
-
Uses of MaterialRules.BlockStateRule in net.minecraft.world.gen.surfacebuilder
Modifier and TypeClassDescriptionprivate static final record
Applies another block state rule if the given predicate matches, and returnsnull
otherwise.private static final record
Applies the given block state rules in sequence, and returns the first result that isn'tnull
.private static final record
Always returns the givenBlockState
.Modifier and TypeFieldDescriptionprivate final MaterialRules.BlockStateRule
MaterialRules.ConditionalBlockStateRule.followup
The field for thefollowup
record component.Modifier and TypeFieldDescriptionprivate final List<MaterialRules.BlockStateRule>
MaterialRules.SequenceBlockStateRule.rules
The field for therules
record component.Modifier and TypeMethodDescriptionMaterialRules.BlockMaterialRule.apply
(MaterialRules.MaterialRuleContext materialRuleContext) MaterialRules.ConditionMaterialRule.apply
(MaterialRules.MaterialRuleContext materialRuleContext) MaterialRules.SequenceMaterialRule.apply
(MaterialRules.MaterialRuleContext materialRuleContext) MaterialRules.TerracottaBandsMaterialRule.apply
(MaterialRules.MaterialRuleContext materialRuleContext) MaterialRules.ConditionalBlockStateRule.followup()
Returns the value of thefollowup
record component.Modifier and TypeMethodDescriptionMaterialRules.SequenceBlockStateRule.rules()
Returns the value of therules
record component.ModifierConstructorDescription(package private)
ConditionalBlockStateRule
(MaterialRules.BooleanSupplier booleanSupplier, MaterialRules.BlockStateRule blockStateRule) ModifierConstructorDescription(package private)