Class GravityStructureProcessor
- java.lang.Object
-
- net.minecraft.world.gen.feature.template.StructureProcessor
-
- net.minecraft.world.gen.feature.template.GravityStructureProcessor
-
public class GravityStructureProcessor extends StructureProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<GravityStructureProcessor>
CODEC
private Heightmap.Type
heightmap
private int
offset
-
Constructor Summary
Constructors Constructor Description GravityStructureProcessor(Heightmap.Type p_i51328_1_, int p_i51328_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IStructureProcessorType<?>
getType()
Template.BlockInfo
processBlock(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_)
-
Methods inherited from class net.minecraft.world.gen.feature.template.StructureProcessor
process, processEntity
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<GravityStructureProcessor> CODEC
-
heightmap
private final Heightmap.Type heightmap
-
offset
private final int offset
-
-
Constructor Detail
-
GravityStructureProcessor
public GravityStructureProcessor(Heightmap.Type p_i51328_1_, int p_i51328_2_)
-
-
Method Detail
-
processBlock
@Nullable public Template.BlockInfo processBlock(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_)
- Overrides:
processBlock
in classStructureProcessor
-
getType
protected IStructureProcessorType<?> getType()
- Specified by:
getType
in classStructureProcessor
-
-