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_230310_, BlockState p_230311_, BlockPos p_230312_, BlockPos p_230313_, BlockPos p_230314_, RandomSource p_230315_)
-
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_230310_, BlockState p_230311_, BlockPos p_230312_, BlockPos p_230313_, BlockPos p_230314_, RandomSource p_230315_) -
getOutputState
-
getOutputTag
-