com.parzivail.util.gen.biome.TerrainBiomes Maven / Gradle / Ivy
package com.parzivail.util.gen.biome;
import com.parzivail.pswg.container.SwgBlocks;
import com.parzivail.util.gen.decoration.ConfiguredDecoration;
import com.parzivail.util.gen.decoration.PatchDecoration;
import com.parzivail.util.gen.decoration.RockDecoration;
import com.parzivail.util.gen.decorator.ChanceHeightmapDecorator;
import com.parzivail.util.gen.decorator.CountHeightmapDecorator;
import com.parzivail.util.gen.surface.CanyonSurfaceBuilder;
import com.parzivail.util.gen.surface.SaltFlatsSurfaceBuilder;
import com.parzivail.util.gen.surface.TwoStateSurfaceBuilder;
import com.parzivail.util.gen.terrain.*;
import java.util.List;
import net.minecraft.class_1972;
public class TerrainBiomes
{
public static final TerrainBiome TATOOINE_CRAGGY_DUNES = new TerrainBiome(
class_1972.field_9451,
new TwoStateSurfaceBuilder(SwgBlocks.Sand.Desert.method_9564(), 3, SwgBlocks.Sandstone.SmoothDesert.method_9564(), 16),
new CraggyDunesTerrainBuilder(),
List.of(
ConfiguredDecoration.of(
new CountHeightmapDecorator(3),
new PatchDecoration(SwgBlocks.Plant.FunnelFlower.method_9564(), 5, 8, true, List.of(SwgBlocks.Sand.Desert))
)
)
);
public static final TerrainBiome TATOOINE_SOFT_DUNES = new TerrainBiome(
class_1972.field_9420,
new TwoStateSurfaceBuilder(SwgBlocks.Sand.Desert.method_9564(), 3, SwgBlocks.Sandstone.SmoothDesert.method_9564(), 16),
new SoftDunesTerrainBuilder(),
List.of(
ConfiguredDecoration.of(
new CountHeightmapDecorator(3),
new PatchDecoration(SwgBlocks.Plant.FunnelFlower.method_9564(), 5, 8, true, List.of(SwgBlocks.Sand.Desert))
)
)
);
public static final TerrainBiome TATOOINE_SALT_FLATS = new TerrainBiome(
class_1972.field_9409,
new SaltFlatsSurfaceBuilder(),
new SaltFlatsTerrainBuilder(),
List.of(
ConfiguredDecoration.of(
new ChanceHeightmapDecorator(6),
new PatchDecoration(SwgBlocks.Plant.HkakBush.method_9564(), 5, 8, true, List.of(SwgBlocks.Salt.Caked, SwgBlocks.Sand.Canyon))
),
ConfiguredDecoration.of(
new ChanceHeightmapDecorator(12),
new RockDecoration(SwgBlocks.Salt.Caked.method_9564(), SwgBlocks.Salt.Caked)
)
)
);
public static final TerrainBiome TATOOINE_DUNE_SEA = new TerrainBiome(
class_1972.field_9412,
new TwoStateSurfaceBuilder(SwgBlocks.Sand.Desert.method_9564(), 3, SwgBlocks.Sandstone.SmoothDesert.method_9564(), 16),
new DunesTerrainBuilder(),
List.of(
ConfiguredDecoration.of(
new ChanceHeightmapDecorator(6),
new PatchDecoration(SwgBlocks.Plant.Tuber.method_9564(), 5, 8, true, List.of(SwgBlocks.Sand.Desert))
)
)
);
public static final TerrainBiome TATOOINE_CANYON = new TerrainBiome(
class_1972.field_9420,
new CanyonSurfaceBuilder(),
new CanyonTerrainBuilder(),
List.of(
)
);
public static void init()
{
BiomeList.register(TATOOINE_CRAGGY_DUNES);
BiomeList.register(TATOOINE_SOFT_DUNES);
BiomeList.register(TATOOINE_SALT_FLATS);
BiomeList.register(TATOOINE_DUNE_SEA);
BiomeList.register(TATOOINE_CANYON);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy