Package com.xpdustry.hexed.generation
Class OreGeneratorFunction
java.lang.Object
com.xpdustry.hexed.generation.GeneratorFunction
com.xpdustry.hexed.generation.OreGeneratorFunction
- All Implemented Interfaces:
TileConsumer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic List<OreGeneratorFunction>static List<OreGeneratorFunction>floatfloatmindustry.world.blocks.environment.OreBlockgetOre()floatgetScale()mindustry.world.BlockfloatfloatgetTilt()voidsetFalloff(float falloff) voidsetOctaves(float octaves) voidsetOre(mindustry.world.Block ore) voidsetScale(float scale) voidsetTarget(mindustry.world.Block target) voidsetThreshold(float threshold) voidsetTilt(float tilt) Methods inherited from class com.xpdustry.hexed.generation.GeneratorFunction
getSeed, randomize, setSeed
-
Constructor Details
-
OreGeneratorFunction
public OreGeneratorFunction()
-
-
Method Details
-
getDefaultOreFunctions
-
getDefaultHexedOreFunctions
-
getScale
public float getScale() -
setScale
public void setScale(float scale) -
getThreshold
public float getThreshold() -
setThreshold
public void setThreshold(float threshold) -
getOctaves
public float getOctaves() -
setOctaves
public void setOctaves(float octaves) -
getFalloff
public float getFalloff() -
setFalloff
public void setFalloff(float falloff) -
getTilt
public float getTilt() -
setTilt
public void setTilt(float tilt) -
getOre
public mindustry.world.blocks.environment.OreBlock getOre() -
setOre
public void setOre(mindustry.world.Block ore) -
getTarget
public mindustry.world.Block getTarget() -
setTarget
public void setTarget(mindustry.world.Block target) -
accept
-