undo transient biome idea. doesn't work for features

This commit is contained in:
dags- 2020-02-28 22:01:58 +00:00
parent f17036097d
commit 296038a190
4 changed files with 3 additions and 45 deletions

View File

@ -1,31 +0,0 @@
/*
*
* MIT License
*
* Copyright (c) 2020 TerraForged
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package com.terraforged.api.biome;
public interface BiomeRegistry {
void register(TransientBiome biome);
}

View File

@ -27,9 +27,9 @@ package com.terraforged.api.biome;
import net.minecraft.world.biome.Biome; import net.minecraft.world.biome.Biome;
public abstract class TransientBiome extends Biome { public abstract class BiomeVariant extends Biome {
protected TransientBiome(Builder biomeBuilder) { protected BiomeVariant(Builder biomeBuilder) {
super(biomeBuilder); super(biomeBuilder);
} }

View File

@ -25,7 +25,6 @@
package com.terraforged.api.event; package com.terraforged.api.event;
import com.terraforged.api.biome.BiomeRegistry;
import com.terraforged.api.biome.modifier.ModifierManager; import com.terraforged.api.biome.modifier.ModifierManager;
import com.terraforged.api.chunk.column.DecoratorManager; import com.terraforged.api.chunk.column.DecoratorManager;
import com.terraforged.api.chunk.surface.SurfaceManager; import com.terraforged.api.chunk.surface.SurfaceManager;
@ -90,16 +89,6 @@ public abstract class SetupEvent<T> extends Event {
} }
} }
/**
* Register custom Transient Biomes
*/
public static class Biomes extends SetupEvent<BiomeRegistry> {
public Biomes(BiomeRegistry manager, GeneratorContext context) {
super(manager, context);
}
}
/** /**
* Register custom BiomeModifiers * Register custom BiomeModifiers
*/ */

@ -1 +1 @@
Subproject commit 8077a91476371a9d71567763a55982c5e05b4cdc Subproject commit f3d3148e604b4d407d8cdf6e6baa421cd8d4e008