Class BlockRotProcessor
java.lang.Object
net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor
net.minecraft.world.level.levelgen.structure.templatesystem.BlockRotProcessor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockRotProcessor>
private final float
-
Constructor Summary
ModifierConstructorDescriptionBlockRotProcessor
(float p_74078_) private
BlockRotProcessor
(Optional<HolderSet<Block>> p_230284_, float p_230285_) BlockRotProcessor
(HolderSet<Block> p_255622_, float p_256468_) -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureProcessorType<?>
getType()
processBlock
(LevelReader p_74081_, BlockPos p_74082_, BlockPos p_74083_, StructureTemplate.StructureBlockInfo p_74084_, StructureTemplate.StructureBlockInfo p_74085_, StructurePlaceSettings p_74086_) Methods inherited from class net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessor
process, processEntity
-
Field Details
-
CODEC
-
rottableBlocks
-
integrity
private final float integrity
-
-
Constructor Details
-
BlockRotProcessor
-
BlockRotProcessor
public BlockRotProcessor(float p_74078_) -
BlockRotProcessor
-
-
Method Details
-
processBlock
@Nullable public StructureTemplate.StructureBlockInfo processBlock(LevelReader p_74081_, BlockPos p_74082_, BlockPos p_74083_, StructureTemplate.StructureBlockInfo p_74084_, StructureTemplate.StructureBlockInfo p_74085_, StructurePlaceSettings p_74086_) - Overrides:
processBlock
in classStructureProcessor
-
getType
- Specified by:
getType
in classStructureProcessor
-