public class BlockRotStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<BlockRotStructureProcessor> |
CODEC |
private float |
integrity |
Constructor and Description |
---|
BlockRotStructureProcessor(float integrity) |
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<BlockRotStructureProcessor> CODEC
private final float integrity
@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