public static class OilGenStructure.PatternTerrainHeight extends OilGenStructure
OilGenStructure.FlatPattern, OilGenStructure.GenByPredicate, OilGenStructure.PatternTerrainHeight, OilGenStructure.ReplaceType, OilGenStructure.Spout, OilGenStructure.Spring
box, replaceType
Modifier and Type | Method and Description |
---|---|
protected int |
countOilBlocks() |
static OilGenStructure.PatternTerrainHeight |
create(net.minecraft.util.math.BlockPos start,
OilGenStructure.ReplaceType replaceType,
boolean[][] pattern,
int depth) |
protected void |
generateWithin(net.minecraft.world.World world,
Box intersect)
Generates this structure in the world, but only between the given coordinates.
|
canReplaceForOil, generate, setOil, setOilIfCanReplace
public static OilGenStructure.PatternTerrainHeight create(net.minecraft.util.math.BlockPos start, OilGenStructure.ReplaceType replaceType, boolean[][] pattern, int depth)
protected void generateWithin(net.minecraft.world.World world, Box intersect)
OilGenStructure
generateWithin
in class OilGenStructure
protected int countOilBlocks()
countOilBlocks
in class OilGenStructure
OilGenStructure.generateWithin(World, Box)
, by the Spring type, so this can store the number set.