类 ProcessorRule
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
-
字段概要
字段修饰符和类型字段说明private final RuleBlockEntityModifier
static final com.mojang.serialization.Codec<ProcessorRule>
static final Passthrough
private final RuleTest
private final RuleTest
private final BlockState
private final PosRuleTest
-
构造器概要
构造器构造器说明ProcessorRule
(RuleTest pInputPredicate, RuleTest pLocPredicate, BlockState pOutputState) ProcessorRule
(RuleTest pInputPredicate, RuleTest pLocPredicate, PosRuleTest pPosPredicate, BlockState pOutputState) ProcessorRule
(RuleTest p_277678_, RuleTest p_277379_, PosRuleTest p_278018_, BlockState p_277412_, RuleBlockEntityModifier p_277808_) -
方法概要
修饰符和类型方法说明getOutputTag
(RandomSource pRandom, CompoundTag pTag) boolean
test
(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom)
-
字段详细资料
-
DEFAULT_BLOCK_ENTITY_MODIFIER
-
CODEC
-
inputPredicate
-
locPredicate
-
posPredicate
-
outputState
-
blockEntityModifier
-
-
构造器详细资料
-
ProcessorRule
-
ProcessorRule
public ProcessorRule(RuleTest pInputPredicate, RuleTest pLocPredicate, PosRuleTest pPosPredicate, BlockState pOutputState) -
ProcessorRule
public ProcessorRule(RuleTest p_277678_, RuleTest p_277379_, PosRuleTest p_278018_, BlockState p_277412_, RuleBlockEntityModifier p_277808_)
-
-
方法详细资料
-
test
public boolean test(BlockState pInputState, BlockState pExistingState, BlockPos pLocalPos, BlockPos pRelativePos, BlockPos pStructurePos, RandomSource pRandom) -
getOutputState
-
getOutputTag
-