public class BlockIgnoreStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
private ImmutableList<Block> |
blocks |
static com.mojang.serialization.Codec<BlockIgnoreStructureProcessor> |
CODEC |
static BlockIgnoreStructureProcessor |
IGNORE_AIR |
static BlockIgnoreStructureProcessor |
IGNORE_AIR_AND_STRUCTURE_BLOCKS |
static BlockIgnoreStructureProcessor |
IGNORE_STRUCTURE_BLOCKS |
Constructor and Description |
---|
BlockIgnoreStructureProcessor(List<Block> blocks) |
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) |
public static final com.mojang.serialization.Codec<BlockIgnoreStructureProcessor> CODEC
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
@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