public class BlockIgnoreStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
static BlockIgnoreStructureProcessor |
AIR |
static BlockIgnoreStructureProcessor |
AIR_AND_STRUCTURE_BLOCK |
private com.google.common.collect.ImmutableList<Block> |
blocks |
static BlockIgnoreStructureProcessor |
STRUCTURE_BLOCK |
Constructor and Description |
---|
BlockIgnoreStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51337_1_) |
BlockIgnoreStructureProcessor(java.util.List<Block> blocks) |
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
public static final BlockIgnoreStructureProcessor STRUCTURE_BLOCK
public static final BlockIgnoreStructureProcessor AIR
public static final BlockIgnoreStructureProcessor AIR_AND_STRUCTURE_BLOCK
private final com.google.common.collect.ImmutableList<Block> blocks
public BlockIgnoreStructureProcessor(java.util.List<Block> blocks)
public BlockIgnoreStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51337_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