public class BlockRotStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
private float |
integrity |
Constructor and Description |
---|
BlockRotStructureProcessor(com.mojang.datafixers.Dynamic<?> dynamic) |
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) |
protected <T> com.mojang.datafixers.Dynamic<T> |
rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps) |
toDynamic
public BlockRotStructureProcessor(float integrity)
public BlockRotStructureProcessor(com.mojang.datafixers.Dynamic<?> dynamic)
@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
protected <T> com.mojang.datafixers.Dynamic<T> rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps)
rawToDynamic
in class StructureProcessor