net.minecraft.world.level.levelgen.structure.templatesystem

public class ProcessorRule

dyq
net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
net.minecraft.class_3821
net.minecraft.structure.processor.StructureProcessorRule
net.minecraft.src.C_2621_
net.minecraft.world.level.levelgen.structure.templatesystem.DefinedStructureProcessorPredicates

Field summary

Modifier and TypeField
public static final Passthrough
a
DEFAULT_BLOCK_ENTITY_MODIFIER
field_43333
DEFAULT_BLOCK_ENTITY_MODIFIER
f_276568_
public static final com.mojang.serialization.Codec<ProcessorRule>
b
CODEC
field_25008
CODEC
f_74215_
private final RuleTest
c
inputPredicate
field_16872
inputPredicate
f_74216_
private final RuleTest
d
locPredicate
field_16873
locationPredicate
f_74217_
private final PosRuleTest
e
posPredicate
field_23347
positionPredicate
f_74218_
private final BlockState
f
outputState
field_16874
outputState
f_74219_
private final RuleBlockEntityModifier
g
blockEntityModifier
field_43334
blockEntityModifier
f_276504_

Constructor summary

ModifierConstructor
public (RuleTest inputPredicate, RuleTest locationPredicate, BlockState state)
public (RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState state)
public (RuleTest inputPredicate, RuleTest locationPredicate, PosRuleTest positionPredicate, BlockState outputState, RuleBlockEntityModifier blockEntityModifier)

Method summary

Modifier and TypeMethod
public boolean
a(dfj arg0, dfj arg1, gw arg2, gw arg3, gw arg4, asc arg5)
test(BlockState arg0, BlockState arg1, BlockPos arg2, BlockPos arg3, BlockPos arg4, RandomSource arg5)
method_16762(class_2680 arg0, class_2680 arg1, class_2338 arg2, class_2338 arg3, class_2338 arg4, class_5819 arg5)
test(BlockState input, BlockState currentState, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random)
m_230309_(C_2064_ p_230311_, C_2064_ p_230312_, C_4675_ p_230313_, C_4675_ p_230314_, C_4675_ p_230315_, C_212974_ arg5)
public BlockState
a()
getOutputState()
method_16763()
getOutputState()
m_74237_()
public CompoundTag
a(asc arg0, qw arg1)
getOutputTag(RandomSource arg0, CompoundTag arg1)
method_16760(class_5819 arg0, class_2487 arg1)
getOutputNbt(Random random, NbtCompound nbt)
m_276991_(C_212974_ p_277867_, C_4917_ arg1)