use of net.minecraft.world.gen.feature.WorldGenBlockBlob in project SpongeCommon by SpongePowered.
the class BlockBlobBuilder method build.
@Override
public BlockBlob build() throws IllegalStateException {
if (this.block == null) {
throw new IllegalStateException("Builder is missing required BlockState argument.");
}
BlockBlob populator = (BlockBlob) new WorldGenBlockBlob((Block) this.block.getType(), 2);
populator.setBlock(this.block);
populator.setRadius(this.radius);
populator.setCount(this.count);
return populator;
}
Aggregations