public abstract class Decorator extends Object
Constructor and Description |
---|
Decorator() |
Modifier and Type | Method and Description |
---|---|
abstract ProbabilityCollection<Flora> |
getFlora() |
abstract int |
getFloraChance() |
ProbabilityCollection<Structure> |
getStructures(org.bukkit.World w) |
abstract int |
getTreeDensity() |
abstract ProbabilityCollection<Tree> |
getTrees() |
abstract org.bukkit.block.Biome |
getVanillaBiome() |
abstract boolean |
overrideStructureChance() |
void |
setStructures(ProbabilityCollection<Structure> structures,
String w)
Sets the structures that are to be generated in a world.
|
void |
setStructures(ProbabilityCollection<Structure> structures,
org.bukkit.World w)
Sets the structures that are to be generated in a world.
|
public ProbabilityCollection<Structure> getStructures(org.bukkit.World w)
public abstract ProbabilityCollection<Tree> getTrees()
public abstract int getTreeDensity()
public abstract boolean overrideStructureChance()
public abstract org.bukkit.block.Biome getVanillaBiome()
public abstract ProbabilityCollection<Flora> getFlora()
public abstract int getFloraChance()
public void setStructures(ProbabilityCollection<Structure> structures, org.bukkit.World w)
structures
- ProbabilityCollection of Structuresw
- World in which the structures are to be generated.public void setStructures(ProbabilityCollection<Structure> structures, String w)
structures
- ProbabilityCollection of Structuresw
- Name of world in which the structures are to be generated.Copyright © 2020. All rights reserved.