Class ProcessorRule
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RuleBlockEntityModifier
static final com.mojang.serialization.Codec
<ProcessorRule> static final Passthrough
private final RuleTest
private final RuleTest
private final BlockState
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_277678_, RuleTest p_277379_, PosRuleTest p_278018_, BlockState p_277412_, RuleBlockEntityModifier p_277808_) -
Method Summary
Modifier and TypeMethodDescriptiongetOutputTag
(RandomSource p_277551_, CompoundTag p_277867_) boolean
test
(BlockState p_230310_, BlockState p_230311_, BlockPos p_230312_, BlockPos p_230313_, BlockPos p_230314_, RandomSource p_230315_)
-
Field Details
-
DEFAULT_BLOCK_ENTITY_MODIFIER
-
CODEC
-
inputPredicate
-
locPredicate
-
posPredicate
-
outputState
-
blockEntityModifier
-
-
Constructor Details
-
ProcessorRule
-
ProcessorRule
public ProcessorRule(RuleTest p_74227_, RuleTest p_74228_, PosRuleTest p_74229_, BlockState p_74230_) -
ProcessorRule
public ProcessorRule(RuleTest p_277678_, RuleTest p_277379_, PosRuleTest p_278018_, BlockState p_277412_, RuleBlockEntityModifier p_277808_)
-
-
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
-