Class RuleStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.RuleStructureProcessor
public class RuleStructureProcessor extends StructureProcessor
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<RuleStructureProcessor>
CODEC
private ImmutableList<StructureProcessorRule>
rules
-
Constructor Summary
Constructors Constructor Description RuleStructureProcessor(List<? extends StructureProcessorRule> rules)
-
Method Summary
Modifier and Type Method Description protected StructureProcessorType<?>
getType()
Structure.StructureBlockInfo
process(WorldView worldView, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
-
Field Details
-
CODEC
-
rules
-
-
Constructor Details
-
RuleStructureProcessor
-
-
Method Details
-
process
@Nullable public Structure.StructureBlockInfo process(WorldView worldView, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)- Specified by:
process
in classStructureProcessor
-
getType
- Specified by:
getType
in classStructureProcessor
-