Class ProtectedBlockProcessor
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor
net.minecraft.world.level.levelgen.structure.templatesystem.ProtectedBlockProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ProtectedBlockProcessor> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureProcessorType<?> getType()@Nullable StructureTemplate.StructureBlockInfoprocessBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) Methods inherited from class StructureProcessor
finalizeProcessing, process, processEntity
-
Field Details
-
cannotReplace
-
CODEC
-
-
Constructor Details
-
ProtectedBlockProcessor
-
-
Method Details
-
processBlock
public @Nullable StructureTemplate.StructureBlockInfo processBlock(LevelReader level, BlockPos targetPosition, BlockPos referencePos, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo processedBlockInfo, StructurePlaceSettings settings) - Overrides:
processBlockin classStructureProcessor
-
getType
- Specified by:
getTypein classStructureProcessor
-