Class RuleStructureProcessor
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.StructureProcessor
-
- net.minecraft.world.gen.feature.template.RuleStructureProcessor
-
public class RuleStructureProcessor extends StructureProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<RuleStructureProcessor>
CODEC
private com.google.common.collect.ImmutableList<RuleEntry>
rules
-
Constructor Summary
Constructors Constructor Description RuleStructureProcessor(java.util.List<? extends RuleEntry> p_i51320_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IStructureProcessorType<?>
getType()
Template.BlockInfo
processBlock(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_)
-
Methods inherited from class net.minecraft.world.gen.feature.template.StructureProcessor
process, processEntity
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<RuleStructureProcessor> CODEC
-
rules
private final com.google.common.collect.ImmutableList<RuleEntry> rules
-
-
Constructor Detail
-
RuleStructureProcessor
public RuleStructureProcessor(java.util.List<? extends RuleEntry> p_i51320_1_)
-
-
Method Detail
-
processBlock
@Nullable public Template.BlockInfo processBlock(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_)
- Overrides:
processBlock
in classStructureProcessor
-
getType
protected IStructureProcessorType<?> getType()
- Specified by:
getType
in classStructureProcessor
-
-