public class GravityStructureProcessor extends StructureProcessor
Modifier and Type | Field and Description |
---|---|
private Heightmap.Type |
heightmap |
private int |
offset |
Constructor and Description |
---|
GravityStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51329_1_) |
GravityStructureProcessor(Heightmap.Type heightmap,
int offset) |
Modifier and Type | Method and Description |
---|---|
protected IStructureProcessorType |
getType() |
Template.BlockInfo |
process(IWorldReader worldReaderIn,
BlockPos pos,
Template.BlockInfo p_215194_3_,
Template.BlockInfo blockInfo,
PlacementSettings placementSettingsIn) |
protected <T> com.mojang.datafixers.Dynamic<T> |
serialize0(com.mojang.datafixers.types.DynamicOps<T> ops) |
process, processEntity, serialize
private final Heightmap.Type heightmap
private final int offset
public GravityStructureProcessor(Heightmap.Type heightmap, int offset)
public GravityStructureProcessor(com.mojang.datafixers.Dynamic<?> p_i51329_1_)
@Nullable public Template.BlockInfo process(IWorldReader worldReaderIn, BlockPos pos, Template.BlockInfo p_215194_3_, Template.BlockInfo blockInfo, PlacementSettings placementSettingsIn)
process
in class StructureProcessor
protected IStructureProcessorType getType()
getType
in class StructureProcessor
protected <T> com.mojang.datafixers.Dynamic<T> serialize0(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize0
in class StructureProcessor