public abstract class StructureProcessor extends Object
Constructor and Description |
---|
StructureProcessor() |
Modifier and Type | Method and Description |
---|---|
protected abstract StructureProcessorType |
getType() |
abstract Structure.StructureBlockInfo |
process(WorldView worldView,
BlockPos pos,
BlockPos blockPos,
Structure.StructureBlockInfo structureBlockInfo,
Structure.StructureBlockInfo structureBlockInfo2,
StructurePlacementData structurePlacementData) |
protected abstract <T> com.mojang.datafixers.Dynamic<T> |
rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps) |
<T> com.mojang.datafixers.Dynamic<T> |
toDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps) |
@Nullable public abstract Structure.StructureBlockInfo process(WorldView worldView, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
protected abstract StructureProcessorType getType()
protected abstract <T> com.mojang.datafixers.Dynamic<T> rawToDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps)
public <T> com.mojang.datafixers.Dynamic<T> toDynamic(com.mojang.datafixers.types.DynamicOps<T> dynamicOps)