package com.zivilon.cinder_loe.mixins;

import com.zivilon.cinder_loe.world.biome.CinderBiome;
import com.zivilon.cinder_loe.world.biome.GenMistyForest;
import lotr.common.world.biome.LOTRBiome;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(LOTRBiome.class)
public class MixinLOTRBiome {
//public static void initBiomes() {
    //
    @Inject(method = "initBiomes", at = @At("TAIL"), remap = false)
    private static void cinder_biome_init(CallbackInfo ci) {
        CinderBiome.mistyforest = new GenMistyForest(171, true).setTemperatureRainfall(1.2f, 1.2f).setMinMaxHeight(0.7f, 0.4f).setColor(3168544).setBiomeName("mistyForest");
    }
}
