net.minecraft.structure.processor

public class StructureProcessorRule

net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
net.minecraft.world.level.levelgen.structure.templatesystem.ProcessorRule
net.minecraft.class_3821
net.minecraft.structure.processor.StructureProcessorRule

Field summary

Modifier and TypeField
public static final PassthroughRuleBlockEntityModifier
DEFAULT_BLOCK_ENTITY_MODIFIER
DEFAULT_BLOCK_ENTITY_MODIFIER
field_43333
DEFAULT_BLOCK_ENTITY_MODIFIER
public static final com.mojang.serialization.Codec<StructureProcessorRule>
CODEC
CODEC
field_25008
CODEC
private final RuleTest
inputPredicate
inputPredicate
field_16872
inputPredicate
private final RuleTest
locPredicate
locPredicate
field_16873
locationPredicate
private final PosRuleTest
posPredicate
posPredicate
field_23347
positionPredicate
private final BlockState
outputState
outputState
field_16874
outputState
private final RuleBlockEntityModifier
blockEntityModifier
blockEntityModifier
field_43334
blockEntityModifier

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
test(LevelReader level, BlockState inputState, BlockPos inTemplatePos, BlockPos worldPos, BlockPos reference, RandomSource random)
test(LevelReader level, BlockState inputState, BlockPos inTemplatePos, BlockPos worldPos, BlockPos reference, RandomSource random)
method_16762(class_4538 arg0, class_2680 arg1, class_2338 arg2, class_2338 arg3, class_2338 arg4, class_5819 arg5)
test(WorldView world, BlockState input, BlockPos originalPos, BlockPos currentPos, BlockPos pivot, Random random)
public BlockState
getOutputState()
getOutputState()
method_16763()
getOutputState()
public NbtCompound
getOutputTag(RandomSource random, CompoundTag existingTag)
getOutputTag(RandomSource random, CompoundTag existingTag)
method_16760(class_5819 arg0, class_2487 arg1)
getOutputNbt(Random random, NbtCompound nbt)