public static class OilGenStructure.Spring extends OilGenStructure
OilGenStructure.FlatPattern, OilGenStructure.GenByPredicate, OilGenStructure.PatternTerrainHeight, OilGenStructure.ReplaceType, OilGenStructure.Spout, OilGenStructure.Spring| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.math.BlockPos |
pos |
box, replaceType| Constructor and Description |
|---|
Spring(net.minecraft.util.math.BlockPos pos) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
countOilBlocks() |
void |
generate(net.minecraft.world.World world,
int count) |
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, setOilIfCanReplaceprotected void generateWithin(net.minecraft.world.World world,
Box intersect)
OilGenStructuregenerateWithin in class OilGenStructureprotected int countOilBlocks()
countOilBlocks in class OilGenStructureOilGenStructure.generateWithin(World, Box), by the Spring type, so this can store the number set.public void generate(net.minecraft.world.World world,
int count)