Class BlockIgnoreProcessor
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.BlockIgnoreProcessor
- All Implemented Interfaces:
StructureProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockIgnoreProcessorstatic final com.mojang.serialization.MapCodec<BlockIgnoreProcessor> static final BlockIgnoreProcessorstatic final BlockIgnoreProcessorprivate final ImmutableList<Block> private static final com.mojang.serialization.Codec<Block> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<BlockIgnoreProcessor> codec()processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, BlockPos templateRelativePos, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface StructureProcessor
evaluatesEntirePieceState, finalizeProcessing, process, processEntity
-
Field Details
-
WEIRD_BLOCK_STATE_CODEC
-
MAP_CODEC
-
STRUCTURE_BLOCK
-
AIR
-
STRUCTURE_AND_AIR
-
toIgnore
-
-
Constructor Details
-
BlockIgnoreProcessor
-
-
Method Details
-
processBlock
public @Nullable StructureTemplate.StructureBlockInfo processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, BlockPos templateRelativePos, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) - Specified by:
processBlockin interfaceStructureProcessor
-
codec
- Specified by:
codecin interfaceStructureProcessor
-