use of net.minecraft.world.gen.feature.WorldGenCactus in project SpongeCommon by SpongePowered.
the class CactusBuilder method build.
@Override
public Cactus build() throws IllegalStateException {
Cactus populator = (Cactus) new WorldGenCactus();
populator.setCactiPerChunk(this.count);
populator.setHeight(this.height);
return populator;
}
use of net.minecraft.world.gen.feature.WorldGenCactus in project Minestuck by mraof.
the class LandAspectSand method getDecorators.
@Override
public List<ILandDecorator> getDecorators() {
ArrayList<ILandDecorator> list = new ArrayList<ILandDecorator>();
list.add(new WorldGenDecorator(new WorldGenCactus(), 15, 0.4F, BiomeMinestuck.mediumNormal));
list.add(new WorldGenDecorator(new WorldGenCactus(), 5, 0.4F, BiomeMinestuck.mediumRough));
list.add(new WorldGenDecorator(new WorldGenDeadBush(), 1, 0.4F, BiomeMinestuck.mediumNormal, BiomeMinestuck.mediumRough));
list.add(new OasisDecorator());
list.add(new UndergroundDecoratorVein(Blocks.SAND.getDefaultState().withProperty(BlockSand.VARIANT, type == Variant.SAND_RED ? BlockSand.EnumType.RED_SAND : BlockSand.EnumType.SAND), 8, 28, 256));
list.add(new UndergroundDecoratorVein((type == Variant.SAND_RED ? MinestuckBlocks.ironOreSandstoneRed : MinestuckBlocks.ironOreSandstone).getDefaultState(), 24, 9, 64));
list.add(new UndergroundDecoratorVein((type == Variant.SAND_RED ? MinestuckBlocks.goldOreSandstoneRed : MinestuckBlocks.goldOreSandstone).getDefaultState(), 6, 9, 32));
return list;
}
Aggregations