Class ProcessorRule
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ProcessorRule>
private final RuleTest
private final RuleTest
private final BlockState
private final CompoundTag
private final PosRuleTest
-
Constructor Summary
ConstructorDescriptionProcessorRule
(RuleTest p_74223_, RuleTest p_74224_, BlockState p_74225_) ProcessorRule
(RuleTest p_74227_, RuleTest p_74228_, PosRuleTest p_74229_, BlockState p_74230_) ProcessorRule
(RuleTest p_74232_, RuleTest p_74233_, PosRuleTest p_74234_, BlockState p_74235_, Optional<CompoundTag> p_74236_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(BlockState p_74239_, BlockState p_74240_, BlockPos p_74241_, BlockPos p_74242_, BlockPos p_74243_, Random p_74244_)
-
Field Details
-
CODEC
-
inputPredicate
-
locPredicate
-
posPredicate
-
outputState
-
outputTag
-
-
Constructor Details
-
ProcessorRule
-
ProcessorRule
public ProcessorRule(RuleTest p_74227_, RuleTest p_74228_, PosRuleTest p_74229_, BlockState p_74230_) -
ProcessorRule
public ProcessorRule(RuleTest p_74232_, RuleTest p_74233_, PosRuleTest p_74234_, BlockState p_74235_, Optional<CompoundTag> p_74236_)
-
-
Method Details
-
test
public boolean test(BlockState p_74239_, BlockState p_74240_, BlockPos p_74241_, BlockPos p_74242_, BlockPos p_74243_, Random p_74244_) -
getOutputState
-
getOutputTag
-