public class BlockIgnoreStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
private ImmutableList<Block> |
blocks |
static BlockIgnoreStructureProcessor |
IGNORE_AIR |
static BlockIgnoreStructureProcessor |
IGNORE_AIR_AND_STRUCTURE_BLOCKS |
static BlockIgnoreStructureProcessor |
IGNORE_STRUCTURE_BLOCKS |
Constructor and Description |
---|
BlockIgnoreStructureProcessor(com.mojang.datafixers.Dynamic<?> dynamic) |
BlockIgnoreStructureProcessor(List<Block> list) |
Modifier and Type | Method and Description |
---|---|
protected StructureProcessorType |
getType() |
Structure.StructureBlockInfo |
process(WorldView worldView,
BlockPos pos,
BlockPos blockPos,
Structure.StructureBlockInfo structureBlockInfo,
Structure.StructureBlockInfo structureBlockInfo2,
StructurePlacementData structurePlacementData) |
protected <T> com.mojang.datafixers.Dynamic<T> |
rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps) |
toDynamic
public static final BlockIgnoreStructureProcessor IGNORE_STRUCTURE_BLOCKS
public static final BlockIgnoreStructureProcessor IGNORE_AIR
public static final BlockIgnoreStructureProcessor IGNORE_AIR_AND_STRUCTURE_BLOCKS
private final ImmutableList<Block> blocks
public BlockIgnoreStructureProcessor(com.mojang.datafixers.Dynamic<?> dynamic)
@Nullable public Structure.StructureBlockInfo process(WorldView worldView, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
process
in class StructureProcessor
protected StructureProcessorType getType()
getType
in class StructureProcessor
protected <T> com.mojang.datafixers.Dynamic<T> rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps)
rawToDynamic
in class StructureProcessor