Search in sources :

Example 1 with Fossil

use of org.spongepowered.api.world.gen.populator.Fossil in project SpongeCommon by SpongePowered.

the class FossilBuilder method build.

@Override
public Fossil build() throws IllegalStateException {
    Fossil pop = (Fossil) new WorldGenFossils();
    pop.setSpawnProbability(this.probability);
    return pop;
}
Also used : Fossil(org.spongepowered.api.world.gen.populator.Fossil) WorldGenFossils(net.minecraft.world.gen.feature.WorldGenFossils)

Aggregations

WorldGenFossils (net.minecraft.world.gen.feature.WorldGenFossils)1 Fossil (org.spongepowered.api.world.gen.populator.Fossil)1