Tree feature prototype
This commit is contained in:
parent
cfba4b4822
commit
93673b46ef
5 changed files with 130 additions and 1 deletions
|
@ -43,6 +43,7 @@ import ru.betterend.world.features.terrain.SulphurHillFeature;
|
|||
import ru.betterend.world.features.terrain.SulphuricCaveFeature;
|
||||
import ru.betterend.world.features.terrain.SulphuricLakeFeature;
|
||||
import ru.betterend.world.features.terrain.SurfaceVentFeature;
|
||||
import ru.betterend.world.features.trees.CapsacisTreeFeature;
|
||||
import ru.betterend.world.features.trees.DragonTreeFeature;
|
||||
import ru.betterend.world.features.trees.HelixTreeFeature;
|
||||
import ru.betterend.world.features.trees.JellyshroomFeature;
|
||||
|
@ -63,6 +64,10 @@ public class EndFeatures {
|
|||
public static final EndFeature HELIX_TREE = new EndFeature("helix_tree", new HelixTreeFeature(), 2);
|
||||
public static final EndFeature UMBRELLA_TREE = new EndFeature("umbrella_tree", new UmbrellaTreeFeature(), 4);
|
||||
public static final EndFeature JELLYSHROOM = new EndFeature("jellyshroom", new JellyshroomFeature(), 3);
|
||||
public static final EndFeature CAPSACIS = new EndFeature("capsacis", new CapsacisTreeFeature((random) -> {
|
||||
int state = random.nextInt(3);
|
||||
return state == 0 ? EndBlocks.CAPSACIS_CAP_BLACK.getDefaultState() : state == 1 ? EndBlocks.CAPSACIS_CAP_PURPLE.getDefaultState() : EndBlocks.CAPSACIS_CAP_WHITE.getDefaultState();
|
||||
}), 1);
|
||||
|
||||
// Bushes //
|
||||
public static final EndFeature PYTHADENDRON_BUSH = new EndFeature("pythadendron_bush", new BushFeature(EndBlocks.PYTHADENDRON_LEAVES, EndBlocks.PYTHADENDRON.bark), 4);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue