Added some prototype asteroid gen code

This commit is contained in:
Francesco Macagno 2015-08-24 23:22:51 -07:00
parent 6bdd0ab003
commit 07aafb6207
2 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,20 @@
package cr0s.warpdrive.config.structures;
import org.w3c.dom.Element;
import cr0s.warpdrive.config.InvalidXmlException;
public class Asteroid extends Orb {
public Asteroid(int diameter) {
super(diameter);
}
@Override
public void loadFromXmlElement(Element e) throws InvalidXmlException {
super.loadFromXmlElement(e);
}
}

View file

@ -52,5 +52,13 @@
<filler ratio=".5" block="minecraft:air" />
</shell>
</structure>
<structure group="asteroid" name="asteroid" coreBlock="minecraft:iron_block" maxCoreSize="10" minCoreSize="2">
<shell name="mantle" minThickness="3" maxThickness="20" fillerSets="commonOres;uncommonOres">
<filler weight="10" block="minecraft:stone" />
<filler weight="5" block="minecraft:cobblestone" />
</shell>
</structure>
</warpdriveWorldGeneration>