Class BlockIgnoreStructureProcessor
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.StructureProcessor
-
- net.minecraft.world.gen.feature.template.BlockIgnoreStructureProcessor
-
public class BlockIgnoreStructureProcessor extends StructureProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static BlockIgnoreStructureProcessor
AIR
static com.mojang.serialization.Codec<BlockIgnoreStructureProcessor>
CODEC
static BlockIgnoreStructureProcessor
STRUCTURE_AND_AIR
static BlockIgnoreStructureProcessor
STRUCTURE_BLOCK
private com.google.common.collect.ImmutableList<Block>
toIgnore
-
Constructor Summary
Constructors Constructor Description BlockIgnoreStructureProcessor(java.util.List<Block> p_i51336_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<BlockIgnoreStructureProcessor> CODEC
-
STRUCTURE_BLOCK
public static final BlockIgnoreStructureProcessor STRUCTURE_BLOCK
-
AIR
public static final BlockIgnoreStructureProcessor AIR
-
STRUCTURE_AND_AIR
public static final BlockIgnoreStructureProcessor STRUCTURE_AND_AIR
-
toIgnore
private final com.google.common.collect.ImmutableList<Block> toIgnore
-
-
Constructor Detail
-
BlockIgnoreStructureProcessor
public BlockIgnoreStructureProcessor(java.util.List<Block> p_i51336_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
-
-