public class RuleStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<RuleEntry> |
rules |
Constructor and Description |
---|
RuleStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51321_1_) |
RuleStructureProcessor(java.util.List<RuleEntry> rules) |
Modifier and Type | Method and Description |
---|---|
protected IStructureProcessorType |
getType() |
Template.BlockInfo |
process(IWorldReader worldReaderIn,
BlockPos pos,
Template.BlockInfo p_215194_3_,
Template.BlockInfo blockInfo,
PlacementSettings placementSettingsIn) |
protected <T> com.mojang.datafixers.Dynamic<T> |
serialize0(com.mojang.datafixers.types.DynamicOps<T> ops) |
process, processEntity, serialize
private final com.google.common.collect.ImmutableList<RuleEntry> rules
public RuleStructureProcessor(java.util.List<RuleEntry> rules)
public RuleStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51321_1_)
@Nullable public Template.BlockInfo process(IWorldReader worldReaderIn, BlockPos pos, Template.BlockInfo p_215194_3_, Template.BlockInfo blockInfo, PlacementSettings placementSettingsIn)
process
in class StructureProcessor
protected IStructureProcessorType getType()
getType
in class StructureProcessor
protected <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize0
in class StructureProcessor