From 026c69b4e6d2eacb4340e49c52c0a029c02d62a8 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Fri, 10 Apr 2015 09:21:43 +1000 Subject: [PATCH] Merged IGeneratorBase and IGeneratorController, since the distinction is no longer necessary --- .../{IGeneratorBase.java => IGenerator.java} | 0 .../generation/IGeneratorController.java | 31 ------------------- 2 files changed, 31 deletions(-) rename src/main/java/biomesoplenty/api/biome/generation/{IGeneratorBase.java => IGenerator.java} (100%) delete mode 100644 src/main/java/biomesoplenty/api/biome/generation/IGeneratorController.java diff --git a/src/main/java/biomesoplenty/api/biome/generation/IGeneratorBase.java b/src/main/java/biomesoplenty/api/biome/generation/IGenerator.java similarity index 100% rename from src/main/java/biomesoplenty/api/biome/generation/IGeneratorBase.java rename to src/main/java/biomesoplenty/api/biome/generation/IGenerator.java diff --git a/src/main/java/biomesoplenty/api/biome/generation/IGeneratorController.java b/src/main/java/biomesoplenty/api/biome/generation/IGeneratorController.java deleted file mode 100644 index 3257b0d38..000000000 --- a/src/main/java/biomesoplenty/api/biome/generation/IGeneratorController.java +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************* - * Copyright 2015, the Biomes O' Plenty Team - * - * This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License. - * - * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. - ******************************************************************************/ - -package biomesoplenty.api.biome.generation; - -import java.util.Random; - -import net.minecraft.util.BlockPos; -import net.minecraft.world.World; - -/** - * Responsible for handling its own associated generation, or referring it - * to delegate generators. - */ -public interface IGeneratorController extends IGeneratorBase -{ - public void scatter(World world, Random random, BlockPos pos); - public boolean generate(World world, Random random, BlockPos pos); - - public void setName(String name); - - /**A unique name use to classify the purpose of a generator. For example, emeralds and ruby use the - * same generator (and thus, have the same identifier) but have differing names. - */ - public String getName(); -}