diff options
Diffstat (limited to 'src')
23 files changed, 310 insertions, 135 deletions
diff --git a/src/main/java/com/sosnitzka/taiga/Alloys.java b/src/main/java/com/sosnitzka/taiga/Alloys.java index 1b0b9df..75b46b1 100644 --- a/src/main/java/com/sosnitzka/taiga/Alloys.java +++ b/src/main/java/com/sosnitzka/taiga/Alloys.java @@ -13,25 +13,26 @@ public class Alloys { * Registers alloying in the smeltery */ public static void register() { + registerTinkerAlloy(new FluidStack(terraxFluid, 2), new FluidStack(karmesineFluid, 1), new FluidStack(oviumFluid, 1), new FluidStack(jauxumFluid, 1)); registerTinkerAlloy(new FluidStack(triberiumFluid, 1), new FluidStack(tiberiumFluid, 5), new FluidStack(basaltFluid, 1)); registerTinkerAlloy(new FluidStack(fractumFluid, 2), new FluidStack(triberiumFluid, 3), new FluidStack(TinkerFluids.obsidian, 3), new FluidStack(abyssumFluid, 1)); registerTinkerAlloy(new FluidStack(violiumFluid, 2), new FluidStack(auroriumFluid, 3), new FluidStack(TinkerFluids.ardite, 2)); registerTinkerAlloy(new FluidStack(proxiiFluid, 3), new FluidStack(prometheumFluid, 3), new FluidStack(palladiumFluid, 3), new FluidStack(eezoFluid, 1)); - registerTinkerAlloy(new FluidStack(tritoniteFluid, 2), new FluidStack(TinkerFluids.cobalt, 3), new FluidStack(karmesineFluid, 2)); - registerTinkerAlloy(new FluidStack(ignitzFluid, 2), new FluidStack(TinkerFluids.ardite, 2), new FluidStack(karmesineFluid, 2), new FluidStack(osramFluid, 1)); + registerTinkerAlloy(new FluidStack(tritoniteFluid, 2), new FluidStack(TinkerFluids.cobalt, 3), new FluidStack(terraxFluid, 2)); + registerTinkerAlloy(new FluidStack(ignitzFluid, 2), new FluidStack(TinkerFluids.ardite, 2), new FluidStack(terraxFluid, 2), new FluidStack(osramFluid, 1)); registerTinkerAlloy(new FluidStack(imperomiteFluid, 2), new FluidStack(duraniteFluid, 3), new FluidStack(prometheumFluid, 1), new FluidStack(abyssumFluid, 1)); registerTinkerAlloy(new FluidStack(solariumFluid, 2), new FluidStack(valyriumFluid, 2), new FluidStack(uruFluid, 2), new FluidStack(nucleumFluid, 1)); registerTinkerAlloy(new FluidStack(adamantFluid, 3), new FluidStack(vibraniumFluid, 1), new FluidStack(solariumFluid, 1), new FluidStack(ioxFluid, 3)); registerTinkerAlloy(new FluidStack(nihiliteFluid, 1), new FluidStack(vibraniumFluid, 1), new FluidStack(solariumFluid, 1)); registerTinkerAlloy(new FluidStack(seismumFluid, 4), new FluidStack(TinkerFluids.obsidian, 4), new FluidStack(triberiumFluid, 2), new FluidStack(eezoFluid, 1)); - registerTinkerAlloy(new FluidStack(astriumFluid, 2), new FluidStack(karmesineFluid, 3), new FluidStack(auroriumFluid, 2)); + registerTinkerAlloy(new FluidStack(astriumFluid, 2), new FluidStack(terraxFluid, 3), new FluidStack(auroriumFluid, 2)); registerTinkerAlloy(new FluidStack(niobFluid, 3), new FluidStack(palladiumFluid, 3), new FluidStack(duraniteFluid, 1), new FluidStack(osramFluid, 1)); registerTinkerAlloy(new FluidStack(yrdeenFluid, 3), new FluidStack(uruFluid, 3), new FluidStack(valyriumFluid, 3), new FluidStack(osramFluid, 1)); registerTinkerAlloy(new FluidStack(yrdeenFluid, 3), new FluidStack(uruFluid, 3), new FluidStack(valyriumFluid, 3), new FluidStack(eezoFluid, 1)); registerTinkerAlloy(new FluidStack(yrdeenFluid, 3), new FluidStack(uruFluid, 3), new FluidStack(valyriumFluid, 3), new FluidStack(abyssumFluid, 1)); registerTinkerAlloy(new FluidStack(ioxFluid, 1), new FluidStack(eezoFluid, 2), new FluidStack(abyssumFluid, 2), new FluidStack(osramFluid, 2), new FluidStack(obsidioriteFluid, 9)); registerTinkerAlloy(new FluidStack(ioxFluid, 1), new FluidStack(eezoFluid, 2), new FluidStack(abyssumFluid, 2), new FluidStack(osramFluid, 2), new FluidStack(meteoriteFluid, 9), new FluidStack(TinkerFluids.obsidian, 9)); - registerTinkerAlloy(new FluidStack(lumixFluid, 1), new FluidStack(palladiumFluid, 1), new FluidStack(karmesineFluid, 1)); + registerTinkerAlloy(new FluidStack(lumixFluid, 1), new FluidStack(palladiumFluid, 1), new FluidStack(terraxFluid, 1)); registerTinkerAlloy(new FluidStack(obsidioriteFluid, 1), new FluidStack(meteoriteFluid, 1), new FluidStack(TinkerFluids.obsidian, 1)); registerTinkerAlloy(new FluidStack(nucleumFluid, 3), new FluidStack(proxiiFluid, 3), new FluidStack(abyssumFluid, 1), new FluidStack(osramFluid, 1)); registerTinkerAlloy(new FluidStack(nucleumFluid, 3), new FluidStack(imperomiteFluid, 3), new FluidStack(osramFluid, 1), new FluidStack(eezoFluid, 1)); diff --git a/src/main/java/com/sosnitzka/taiga/Blocks.java b/src/main/java/com/sosnitzka/taiga/Blocks.java index 582d5ce..6fe20e2 100644 --- a/src/main/java/com/sosnitzka/taiga/Blocks.java +++ b/src/main/java/com/sosnitzka/taiga/Blocks.java @@ -23,58 +23,63 @@ public class Blocks { // blocks and ores spawned via worldgen - public static Block basaltBlock = new BasicBlock("basalt_block", Material.ROCK, 45.0f, 35.0f, DIAMOND, PREFIX_BLOCK); + public static Block basaltBlock = new BasicBlock("basalt_block", Material.ROCK, 20.0f, 35.0f, DIAMOND, PREFIX_BLOCK); public static Block tiberiumOre = new BlockTiberium(); - public static Block auroriumOre = new BasicBlock("aurorium_ore", Material.ROCK, 13.0f, 12f, COBALT, 0.2f, PREFIX_ORE); - public static Block prometheumOre = new BasicBlock("prometheum_ore", Material.ROCK, 35.0f, 12f, DURANITE, 0.4f, PREFIX_ORE); - public static Block duraniteOre = new BasicBlock("duranite_ore", Material.ROCK, 80.0f, 70f, DURANITE, PREFIX_ORE); - public static Block valyriumOre = new BasicBlock("valyrium_ore", Material.ROCK, 60.0f, 50f, VALYRIUM, PREFIX_ORE); - public static Block vibraniumOre = new BasicBlock("vibranium_ore", Material.ROCK, 70.0f, 60f, VIBRANIUM, PREFIX_ORE); - public static Block karmesineOre = new BasicBlock("karmesine_ore", Material.ROCK, 13.0f, 10f, COBALT, PREFIX_ORE); - public static Block palladiumOre = new BasicBlock("palladium_ore", Material.ROCK, 25.0f, 15f, DURANITE, 0.4f, PREFIX_ORE); - public static Block uruOre = new BasicBlock("uru_ore", Material.ROCK, 25.0f, 15f, VALYRIUM, PREFIX_ORE); - public static Block osramOre = new BasicBlock("osram_ore", Material.ROCK, 45.0f, 35.0f, COBALT, PREFIX_ORE); - public static Block eezoOre = new BasicBlock("eezo_ore", Material.ROCK, 45.0f, 35.0f, COBALT, PREFIX_ORE); - public static Block abyssumOre = new BasicBlock("abyssum_ore", Material.ROCK, 45.0f, 35.0f, COBALT, PREFIX_ORE); + public static Block auroriumOre = new BasicBlock("aurorium_ore", Material.ROCK, 15.0f, 12f, COBALT, 0.2f, PREFIX_ORE); + public static Block prometheumOre = new BasicBlock("prometheum_ore", Material.ROCK, 20.0f, 12f, DURANITE, 0.4f, PREFIX_ORE); + public static Block duraniteOre = new BasicBlock("duranite_ore", Material.ROCK, 25.0f, 1000f, DURANITE, PREFIX_ORE); + public static Block valyriumOre = new BasicBlock("valyrium_ore", Material.ROCK, 35.0f, 2000f, VALYRIUM, PREFIX_ORE); + public static Block vibraniumOre = new BasicBlock("vibranium_ore", Material.ROCK, 40.0f, 3000f, VIBRANIUM, PREFIX_ORE); + public static Block karmesineOre = new BasicBlock("karmesine_ore", Material.ROCK, 10.0f, 10f, COBALT, PREFIX_ORE); + public static Block oviumOre = new BasicBlock("ovium_ore", Material.ROCK, 10.0f, 10f, COBALT, PREFIX_ORE); + public static Block jauxumOre = new BasicBlock("jauxum_ore", Material.ROCK, 10.0f, 10f, COBALT, PREFIX_ORE); + public static Block palladiumOre = new BasicBlock("palladium_ore", Material.ROCK, 25.0f, 150f, DURANITE, 0.4f, PREFIX_ORE); + public static Block uruOre = new BasicBlock("uru_ore", Material.ROCK, 35.0f, 500f, VALYRIUM, PREFIX_ORE); + public static Block osramOre = new BasicBlock("osram_ore", Material.ROCK, 15.0f, 35.0f, COBALT, PREFIX_ORE); + public static Block eezoOre = new BasicBlock("eezo_ore", Material.ROCK, 50.0f, 50000.0f, COBALT, PREFIX_ORE); + public static Block abyssumOre = new BasicBlock("abyssum_ore", Material.ROCK, 15.0f, 35.0f, COBALT, PREFIX_ORE); // Ore Casts - public static Block tiberiumBlock = new BasicBlock("tiberium_block", Material.ROCK, 30.0f, 15f, STONE, 1f, PREFIX_BLOCK); - public static Block auroriumBlock = new BasicBlock("aurorium_block", Material.ROCK, 13.0f, 15f, COBALT, PREFIX_BLOCK); - public static Block prometheumBlock = new BasicBlock("prometheum_block", Material.ROCK, 35.0f, 15f, DURANITE, 0.5f, PREFIX_BLOCK); - public static Block duraniteBlock = new BasicBlock("duranite_block", Material.ROCK, 60.0f, 60f, DURANITE, PREFIX_BLOCK); - public static Block valyriumBlock = new BasicBlock("valyrium_block", Material.ROCK, 70.0f, 70f, VALYRIUM, PREFIX_BLOCK); - public static Block vibraniumBlock = new BasicBlock("vibranium_block", Material.ROCK, 80.0f, 80f, VIBRANIUM, PREFIX_BLOCK); - public static Block karmesineBlock = new BasicBlock("karmesine_block", Material.ROCK, 13.0f, 12f, COBALT, PREFIX_BLOCK); - public static Block palladiumBlock = new BasicBlock("palladium_block", Material.ROCK, 25.0f, 20f, DURANITE, 0.5f, PREFIX_BLOCK); - public static Block uruBlock = new BasicBlock("uru_block", Material.ROCK, 25.0f, 20f, VALYRIUM, PREFIX_BLOCK); - public static Block osramBlock = new BasicBlock("osram_block", Material.ROCK, 13.0f, 12f, COBALT, PREFIX_BLOCK); - public static Block abyssumBlock = new BasicBlock("abyssum_block", Material.ROCK, 13.0f, 12f, COBALT, PREFIX_BLOCK); - public static Block eezoBlock = new BasicBlock("eezo_block", Material.ROCK, 13.0f, 12f, COBALT, PREFIX_BLOCK); + public static Block tiberiumBlock = new BasicBlock("tiberium_block", Material.ROCK, 10.0f, 15f, STONE, 1f, PREFIX_BLOCK); + public static Block auroriumBlock = new BasicBlock("aurorium_block", Material.ROCK, 15.0f, 15f, COBALT, PREFIX_BLOCK); + public static Block prometheumBlock = new BasicBlock("prometheum_block", Material.ROCK, 20.0f, 15f, DURANITE, 0.5f, PREFIX_BLOCK); + public static Block duraniteBlock = new BasicBlock("duranite_block", Material.ROCK, 20.0f, 800f, DURANITE, PREFIX_BLOCK); + public static Block valyriumBlock = new BasicBlock("valyrium_block", Material.ROCK, 20.0f, 1500f, VALYRIUM, PREFIX_BLOCK); + public static Block vibraniumBlock = new BasicBlock("vibranium_block", Material.ROCK, 20.0f, 3000f, VIBRANIUM, PREFIX_BLOCK); + public static Block karmesineBlock = new BasicBlock("karmesine_block", Material.ROCK, 10.0f, 12f, COBALT, PREFIX_BLOCK); + public static Block oviumBlock = new BasicBlock("ovium_block", Material.ROCK, 10.0f, 12f, COBALT, PREFIX_BLOCK); + public static Block jauxumBlock = new BasicBlock("jauxum_block", Material.ROCK, 10.0f, 12f, COBALT, PREFIX_BLOCK); + public static Block palladiumBlock = new BasicBlock("palladium_block", Material.ROCK, 25.0f, 150f, DURANITE, 0.5f, PREFIX_BLOCK); + public static Block uruBlock = new BasicBlock("uru_block", Material.ROCK, 30.0f, 500f, VALYRIUM, PREFIX_BLOCK); + public static Block osramBlock = new BasicBlock("osram_block", Material.ROCK, 15.0f, 12f, COBALT, PREFIX_BLOCK); + public static Block abyssumBlock = new BasicBlock("abyssum_block", Material.ROCK, 15.0f, 35f, COBALT, PREFIX_BLOCK); + public static Block eezoBlock = new BasicBlock("eezo_block", Material.ROCK, 20.0f, 1000f, COBALT, PREFIX_BLOCK); - public static Block triberiumBlock = new BasicBlock("triberium_block", Material.ROCK, 30.0f, 15f, OBSIDIAN, 1f, PREFIX_BLOCK); - public static Block fractumBlock = new BasicBlock("fractum_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block violiumBlock = new BasicBlock("violium_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block proxiiBlock = new BasicBlock("proxii_block", Material.ROCK, 25.0f, 25f, DURANITE, PREFIX_BLOCK); - public static Block tritoniteBlock = new BasicBlock("tritonite_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block ignitzBlock = new BasicBlock("ignitz_block", Material.ROCK, 23.0f, 20f, COBALT, PREFIX_BLOCK); - public static Block imperomiteBlock = new BasicBlock("imperomite_block", Material.ROCK, 25.0f, 25f, DURANITE, PREFIX_BLOCK); + public static Block terraxBlock = new BasicBlock("terrax_block", Material.ROCK, 10.0f, 15f, COBALT, PREFIX_BLOCK); + public static Block triberiumBlock = new BasicBlock("triberium_block", Material.ROCK, 15.0f, 15f, OBSIDIAN, 1f, PREFIX_BLOCK); + public static Block fractumBlock = new BasicBlock("fractum_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block violiumBlock = new BasicBlock("violium_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block proxiiBlock = new BasicBlock("proxii_block", Material.ROCK, 15.0f, 25f, DURANITE, PREFIX_BLOCK); + public static Block tritoniteBlock = new BasicBlock("tritonite_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block ignitzBlock = new BasicBlock("ignitz_block", Material.ROCK, 20.0f, 20f, COBALT, PREFIX_BLOCK); + public static Block imperomiteBlock = new BasicBlock("imperomite_block", Material.ROCK, 20.0f, 25f, DURANITE, PREFIX_BLOCK); public static Block solariumBlock = new BasicBlock("solarium_block", Material.ROCK, 25.0f, 25f, VIBRANIUM, PREFIX_BLOCK); - public static Block nihiliteBlock = new BasicBlock("nihilite_block", Material.ROCK, 25.0f, 25f, VALYRIUM, PREFIX_BLOCK); + public static Block nihiliteBlock = new BasicBlock("nihilite_block", Material.ROCK, 10.0f, 25f, VALYRIUM, PREFIX_BLOCK); public static Block adamantBlock = new BasicBlock("adamant_block", Material.ROCK, 25.0f, 25f, VIBRANIUM, PREFIX_BLOCK); - public static Block dyoniteBlock = new BasicBlock("dyonite_block", Material.ROCK, 25.0f, 25f, DURANITE, PREFIX_BLOCK); - public static Block nucleumBlock = new BasicBlock("nucleum_block", Material.ROCK, 25.0f, 25f, VALYRIUM, PREFIX_BLOCK); - public static Block lumixBlock = new BasicBlock("lumix_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block seismumBlock = new BasicBlock("seismum_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block astriumBlock = new BasicBlock("astrium_block", Material.ROCK, 25.0f, 25f, COBALT, PREFIX_BLOCK); - public static Block niobBlock = new BasicBlock("niob_block", Material.ROCK, 25.0f, 25f, DURANITE, PREFIX_BLOCK); - public static Block yrdeenBlock = new BasicBlock("yrdeen_block", Material.ROCK, 25.0f, 25f, VALYRIUM, PREFIX_BLOCK); - public static Block ioxBlock = new BasicBlock("iox_block", Material.ROCK, 25.0f, 25f, DURANITE, PREFIX_BLOCK); + public static Block dyoniteBlock = new BasicBlock("dyonite_block", Material.ROCK, 10.0f, 25f, DURANITE, PREFIX_BLOCK); + public static Block nucleumBlock = new BasicBlock("nucleum_block", Material.ROCK, 10.0f, 25f, VALYRIUM, PREFIX_BLOCK); + public static Block lumixBlock = new BasicBlock("lumix_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block seismumBlock = new BasicBlock("seismum_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block astriumBlock = new BasicBlock("astrium_block", Material.ROCK, 15.0f, 25f, COBALT, PREFIX_BLOCK); + public static Block niobBlock = new BasicBlock("niob_block", Material.ROCK, 15.0f, 25f, DURANITE, PREFIX_BLOCK); + public static Block yrdeenBlock = new BasicBlock("yrdeen_block", Material.ROCK, 15.0f, 25f, VALYRIUM, PREFIX_BLOCK); + public static Block ioxBlock = new BasicBlock("iox_block", Material.ROCK, 20.0f, 25f, DURANITE, PREFIX_BLOCK); - public static Block blockMeteoriteCobble = new BlockCobble("meteoritecobble_block", Material.ROCK, 35f, 10f, COBALT, 0.075f, PREFIX_BLOCK); - public static Block blockObsidioriteCobble = new BlockCobble("obsidioritecobble_block", Material.ROCK, 60f, 20f, DURANITE, 0.035f, PREFIX_BLOCK); - public static Block blockMeteorite = new BlockMeteoriteRock("meteorite_block", Material.ROCK, 70f, 2000f, COBALT, 0.15f, PREFIX_BLOCK, blockMeteoriteCobble.getDefaultState()); - public static Block blockObsidiorite = new BlockMeteoriteRock("obsidiorite_block", Material.ROCK, 120f, 4000f, DURANITE, 0.2f, PREFIX_BLOCK, blockObsidioriteCobble.getDefaultState()); + public static Block blockMeteoriteCobble = new BlockCobble("meteoritecobble_block", Material.ROCK, 20f, 10f, COBALT, 0.075f, PREFIX_BLOCK); + public static Block blockObsidioriteCobble = new BlockCobble("obsidioritecobble_block", Material.ROCK, 25f, 20f, DURANITE, 0.035f, PREFIX_BLOCK); + public static Block blockMeteorite = new BlockMeteoriteRock("meteorite_block", Material.ROCK, 40f, 2000f, COBALT, 0.15f, PREFIX_BLOCK, blockMeteoriteCobble.getDefaultState()); + public static Block blockObsidiorite = new BlockMeteoriteRock("obsidiorite_block", Material.ROCK, 50f, 4000f, DURANITE, 0.2f, PREFIX_BLOCK, blockObsidioriteCobble.getDefaultState()); /** diff --git a/src/main/java/com/sosnitzka/taiga/Fluids.java b/src/main/java/com/sosnitzka/taiga/Fluids.java index 8ecd85e..90219ad 100644 --- a/src/main/java/com/sosnitzka/taiga/Fluids.java +++ b/src/main/java/com/sosnitzka/taiga/Fluids.java @@ -21,6 +21,9 @@ public class Fluids { public static BasicTinkerFluid valyriumFluid = new BasicTinkerFluid("valyrium_fluid", 0xFFe85c31, 1915, 10, 10000); public static BasicTinkerFluid vibraniumFluid = new BasicTinkerFluid("vibranium_fluid", 0xFFbad2d9, 3050, 10, 10000); public static BasicTinkerFluid karmesineFluid = new BasicTinkerFluid("karmesine_fluid", 0xFFeb484a, 750, 10, 9000); + public static BasicTinkerFluid jauxumFluid = new BasicTinkerFluid("jauxum_fluid", 0xFF68c663, 750, 10, 9000); + public static BasicTinkerFluid oviumFluid = new BasicTinkerFluid("ovium_fluid", 0xFF7d77c3, 750, 10, 9000); + public static BasicTinkerFluid terraxFluid = new BasicTinkerFluid("terrax_fluid", 0xFFa5978e, 850, 10, 9000); public static BasicTinkerFluid palladiumFluid = new BasicTinkerFluid("palladium_fluid", 0xFFee8736, 690, 10, 10000); public static BasicTinkerFluid uruFluid = new BasicTinkerFluid("uru_fluid", 0xFFbfb9f0, 1200, 10, 10000); public static BasicTinkerFluid osramFluid = new BasicTinkerFluid("osram_fluid", 0xFFffbc90, 800, 10, 4000); diff --git a/src/main/java/com/sosnitzka/taiga/Items.java b/src/main/java/com/sosnitzka/taiga/Items.java index 0df15a2..be68acc 100644 --- a/src/main/java/com/sosnitzka/taiga/Items.java +++ b/src/main/java/com/sosnitzka/taiga/Items.java @@ -45,6 +45,18 @@ public class Items { public static Item karmesineDust = new BasicItem("karmesine_dust", PREFIX_DUST); public static Item karmesineNugget = new BasicItem("karmesine_nugget", PREFIX_NUGGET); + public static Item oviumIngot = new BasicItem("ovium_ingot", PREFIX_INGOT); + public static Item oviumDust = new BasicItem("ovium_dust", PREFIX_DUST); + public static Item oviumNugget = new BasicItem("ovium_nugget", PREFIX_NUGGET); + + public static Item jauxumIngot = new BasicItem("jauxum_ingot", PREFIX_INGOT); + public static Item jauxumDust = new BasicItem("jauxum_dust", PREFIX_DUST); + public static Item jauxumNugget = new BasicItem("jauxum_nugget", PREFIX_NUGGET); + + public static Item terraxIngot = new BasicItem("terrax_ingot", PREFIX_INGOT); + public static Item terraxDust = new BasicItem("terrax_dust", PREFIX_DUST); + public static Item terraxNugget = new BasicItem("terrax_nugget", PREFIX_NUGGET); + public static Item palladiumIngot = new BasicItem("palladium_ingot", PREFIX_INGOT); public static Item palladiumDust = new BasicItem("palladium_dust", PREFIX_DUST); public static Item palladiumNugget = new BasicItem("palladium_nugget", PREFIX_NUGGET); diff --git a/src/main/java/com/sosnitzka/taiga/MaterialTraits.java b/src/main/java/com/sosnitzka/taiga/MaterialTraits.java index 6e4ece4..b8674ac 100644 --- a/src/main/java/com/sosnitzka/taiga/MaterialTraits.java +++ b/src/main/java/com/sosnitzka/taiga/MaterialTraits.java @@ -67,7 +67,7 @@ public class MaterialTraits { public static Material duranite = new Material("duranite", TextFormatting.YELLOW).addTrait(analysing); public static Material valyrium = new Material("valyrium", TextFormatting.DARK_GRAY).addTrait(congenial); public static Material vibranium = new Material("vibranium", TextFormatting.GRAY).addTrait(resonance, MaterialTypes.HANDLE).addTrait(heroic, MaterialTypes.HEAD); - public static Material karmesine = new Material("karmesine", TextFormatting.RED).addTrait(slaughtering); + public static Material terrax = new Material("terrax", TextFormatting.DARK_GRAY).addTrait(slaughtering); public static Material palladium = new Material("palladium", TextFormatting.GOLD).addTrait(dark).addTrait(cursed); public static Material uru = new Material("uru", TextFormatting.DARK_RED).addTrait(diffuse); public static Material basalt = new Material("basalt", TextFormatting.WHITE).addTrait(softy); @@ -98,5 +98,8 @@ public class MaterialTraits { public static Material osram = new Material("osram", TextFormatting.GOLD); public static Material abyssum = new Material("abyssum", TextFormatting.GOLD); public static Material iox = new Material("iox", TextFormatting.RED); + public static Material ovium = new Material("ovium", TextFormatting.BLUE); + public static Material jauxum = new Material("jauxum", TextFormatting.YELLOW); + public static Material karmesine = new Material("karmesine", TextFormatting.RED); } diff --git a/src/main/java/com/sosnitzka/taiga/TAIGA.java b/src/main/java/com/sosnitzka/taiga/TAIGA.java index 3a29255..10d2224 100644 --- a/src/main/java/com/sosnitzka/taiga/TAIGA.java +++ b/src/main/java/com/sosnitzka/taiga/TAIGA.java @@ -90,7 +90,7 @@ public class TAIGA { integrateMaterial("Duranite", duranite, duraniteFluid, 1550, 3.2f, 3.2f, 1.16f, 100, 100, DURANITE, 0.3f, 1.4f, 2); integrateMaterial("Valyrium", valyrium, valyriumFluid, 1111, 5.37f, 4.8f, 1.30f, 100, 100, VALYRIUM, 1.1f, 1.2f, 4); integrateMaterial("Vibranium", vibranium, vibraniumFluid, 1235, 7.62f, 8.1f, 1.3f, 100, 100, VIBRANIUM, 1.1f, 1.8f, 4); - integrateMaterial("Karmesine", karmesine, karmesineFluid, 444, 4.77f, 2.9f, 0.8f, 100, 50, COBALT, shitty, true, true); + integrateMaterial("Karmesine", karmesine, terraxFluid, 444, 4.77f, 2.9f, 0.8f, 100, 50, COBALT, shitty, true, true); integrateMaterial("Palladium", palladium, palladiumFluid, 797, 4.35f, 6.8f, 1.3f, 130, -50, DURANITE, .5f, .2f, 3); integrateMaterial("Uru", uru, uruFluid, 877, 2f, 8.2f, 1.5f, -50, 175, VALYRIUM, 1.3f, 0.8f, 6); integrateMaterial("Eezo", eezo, eezoFluid, 50, 14f, 3.5f, .1f, 10, 10, COBALT, shitty, true, false); diff --git a/src/main/java/com/sosnitzka/taiga/TAIGAConfiguration.java b/src/main/java/com/sosnitzka/taiga/TAIGAConfiguration.java index c8575ca..8216e00 100644 --- a/src/main/java/com/sosnitzka/taiga/TAIGAConfiguration.java +++ b/src/main/java/com/sosnitzka/taiga/TAIGAConfiguration.java @@ -20,6 +20,23 @@ public class TAIGAConfiguration { public static boolean ironGen; public static boolean endGen; + public static boolean tiberiumGen; + public static boolean prometheumGen; + public static boolean valyriumGen; + public static boolean osramGen; + public static boolean duraniteGen; + public static boolean basaltGen; + public static boolean eezoGen; + public static boolean karmesineGen; + public static boolean oviumGen; + public static boolean jauxumGen; + public static boolean vibraniumGen; + public static boolean uruGen; + public static boolean auroriumGen; + public static boolean palladiumGen; + public static boolean abyssumGen; + + public static int IRON_VAL; public static int TIBERIUM_VAL; public static int PROMETHEUM_VAL; @@ -29,6 +46,8 @@ public class TAIGAConfiguration { public static int BASALT_VAL; public static int EEZO_VAL; public static int KARMESINE_VAL; + public static int OVIUM_VAL; + public static int JAUXUM_VAL; public static int VIBRANIUM_VAL; public static int URU_VAL; public static int AURORIUM_VAL; @@ -80,7 +99,9 @@ public class TAIGAConfiguration { final int DURANITE_DEFAULT = 1; final int BASALT_DEFAULT = 10; final int EEZO_DEFAULT = 3; - final int KARMESINE_DEFAULT = 15; + final int KARMESINE_DEFAULT = 8; + final int JAUXUM_DEFAULT = 8; + final int OVIUM_DEFAULT = 8; final int VIBRANIUM_DEFAULT = 10; final int URU_DEFAULT = 1; final int AURORIUM_DEFAULT = 10; @@ -139,6 +160,10 @@ public class TAIGAConfiguration { vibraniumValueProp.setLanguageKey("gui.taiga_configuration.vibranium_multiplier"); Property karmesineValueProp = config.get(CATEGORY_NAME_ORE_GEN, "Karmesine", KARMESINE_DEFAULT, "value for generation", RESFAC_MIN_VALUE, RESFAC_MAX_VALUE); karmesineValueProp.setLanguageKey("gui.taiga_configuration.karmesine_multiplier"); + Property oviumValueProp = config.get(CATEGORY_NAME_ORE_GEN, "Ovium", OVIUM_DEFAULT, "value for generation", RESFAC_MIN_VALUE, RESFAC_MAX_VALUE); + oviumValueProp.setLanguageKey("gui.taiga_configuration.ovium_multiplier"); + Property jauxumValueProp = config.get(CATEGORY_NAME_ORE_GEN, "Jauxum", JAUXUM_DEFAULT, "value for generation", RESFAC_MIN_VALUE, RESFAC_MAX_VALUE); + jauxumValueProp.setLanguageKey("gui.taiga_configuration.jauxum_multiplier"); Property palladiumValueProp = config.get(CATEGORY_NAME_ORE_GEN, "Palladium", PALLADIUM_DEFAULT, "value for generation", RESFAC_MIN_VALUE, RESFAC_MAX_VALUE); palladiumValueProp.setLanguageKey("gui.taiga_configuration.palladium_multiplier"); Property uruValueProp = config.get(CATEGORY_NAME_ORE_GEN, "Uru", URU_DEFAULT, "value for generation", RESFAC_MIN_VALUE, RESFAC_MAX_VALUE); @@ -161,6 +186,8 @@ public class TAIGAConfiguration { propOrderOreGen.add(valyriumValueProp.getName()); propOrderOreGen.add(vibraniumValueProp.getName()); propOrderOreGen.add(karmesineValueProp.getName()); + propOrderOreGen.add(oviumValueProp.getName()); + propOrderOreGen.add(jauxumValueProp.getName()); propOrderOreGen.add(palladiumValueProp.getName()); propOrderOreGen.add(uruValueProp.getName()); propOrderOreGen.add(osramValueProp.getName()); @@ -208,6 +235,14 @@ public class TAIGAConfiguration { if (KARMESINE_VAL > RESFAC_MAX_VALUE || KARMESINE_VAL < RESFAC_MIN_VALUE) { KARMESINE_VAL = KARMESINE_DEFAULT; } + OVIUM_VAL = oviumValueProp.getInt(OVIUM_DEFAULT); + if (OVIUM_VAL > RESFAC_MAX_VALUE || OVIUM_VAL < RESFAC_MIN_VALUE) { + OVIUM_VAL = KARMESINE_DEFAULT; + } + JAUXUM_VAL = jauxumValueProp.getInt(OVIUM_DEFAULT); + if (JAUXUM_VAL > RESFAC_MAX_VALUE || JAUXUM_VAL < RESFAC_MIN_VALUE) { + JAUXUM_VAL = JAUXUM_DEFAULT; + } VIBRANIUM_VAL = vibraniumValueProp.getInt(VIBRANIUM_DEFAULT); if (VIBRANIUM_VAL > RESFAC_MAX_VALUE || VIBRANIUM_VAL < RESFAC_MIN_VALUE) { VIBRANIUM_VAL = VIBRANIUM_DEFAULT; @@ -240,6 +275,8 @@ public class TAIGAConfiguration { basaltValueProp.set(BASALT_VAL); eezoValueProp.set(EEZO_VAL); karmesineValueProp.set(KARMESINE_VAL); + oviumValueProp.set(OVIUM_VAL); + jauxumValueProp.set(JAUXUM_VAL); vibraniumValueProp.set(VIBRANIUM_VAL); uruValueProp.set(URU_VAL); auroriumValueProp.set(AURORIUM_VAL); diff --git a/src/main/java/com/sosnitzka/taiga/blocks/BlockTiberium.java b/src/main/java/com/sosnitzka/taiga/blocks/BlockTiberium.java index c3167a0..069cd37 100644 --- a/src/main/java/com/sosnitzka/taiga/blocks/BlockTiberium.java +++ b/src/main/java/com/sosnitzka/taiga/blocks/BlockTiberium.java @@ -21,7 +21,7 @@ import static slimeknights.tconstruct.library.utils.HarvestLevels.STONE; public class BlockTiberium extends BasicBlock { public BlockTiberium() { - super("tiberium_ore", Material.ROCK, 15.0f, 2.0f, STONE, 1.0F, PREFIX_ORE); + super("tiberium_ore", Material.ROCK, 10.0f, 2.0f, STONE, 1.0F, PREFIX_ORE); } @Override diff --git a/src/main/java/com/sosnitzka/taiga/traits/TraitFracture.java b/src/main/java/com/sosnitzka/taiga/traits/TraitFracture.java index bdc9b0b..2181de7 100644 --- a/src/main/java/com/sosnitzka/taiga/traits/TraitFracture.java +++ b/src/main/java/com/sosnitzka/taiga/traits/TraitFracture.java @@ -25,41 +25,43 @@ public class TraitFracture extends AbstractTrait { float b = 0.99F * calcBonus(tool); if (!world.isRemote && tool.canHarvestBlock(state) && f <= b) { RayTraceResult mop = ((ToolCore) tool.getItem()).rayTrace(world, (EntityPlayer) player, false); - for (int i = random.nextInt(9) + 1; i >= 0; i--) { - switch (mop.sideHit) { - case UP: - BlockPos next1 = new BlockPos(pos.getX(), pos.getY() - i, pos.getZ()); - if (tool.canHarvestBlock(world.getBlockState(next1)) && !world.getBlockState(next1).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next1, true); - break; - case DOWN: - BlockPos next2 = new BlockPos(pos.getX(), pos.getY() + i, pos.getZ()); - if (tool.canHarvestBlock(world.getBlockState(next2)) && !world.getBlockState(next2).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next2, true); - break; - case WEST: - BlockPos next3 = new BlockPos(pos.getX() + i, pos.getY(), pos.getZ()); - if (tool.canHarvestBlock(world.getBlockState(next3)) && !world.getBlockState(next3).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next3, true); - break; - case EAST: - BlockPos next4 = new BlockPos(pos.getX() - i, pos.getY(), pos.getZ()); - if (tool.canHarvestBlock(world.getBlockState(next4)) && !world.getBlockState(next4).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next4, true); - break; - case SOUTH: - BlockPos next5 = new BlockPos(pos.getX(), pos.getY(), pos.getZ() - i); - if (tool.canHarvestBlock(world.getBlockState(next5)) && !world.getBlockState(next5).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next5, true); - break; - case NORTH: - BlockPos next6 = new BlockPos(pos.getX(), pos.getY() - i, pos.getZ() + i); - if (tool.canHarvestBlock(world.getBlockState(next6)) && !world.getBlockState(next6).equals(Blocks.BEDROCK.getDefaultState())) - world.destroyBlock(next6, true); - break; + if (mop != null) { + for (int i = random.nextInt(9) + 1; i >= 0; i--) { + switch (mop.sideHit) { + case UP: + BlockPos next1 = new BlockPos(pos.getX(), pos.getY() - i, pos.getZ()); + if (tool.canHarvestBlock(world.getBlockState(next1)) && !world.getBlockState(next1).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next1, true); + break; + case DOWN: + BlockPos next2 = new BlockPos(pos.getX(), pos.getY() + i, pos.getZ()); + if (tool.canHarvestBlock(world.getBlockState(next2)) && !world.getBlockState(next2).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next2, true); + break; + case WEST: + BlockPos next3 = new BlockPos(pos.getX() + i, pos.getY(), pos.getZ()); + if (tool.canHarvestBlock(world.getBlockState(next3)) && !world.getBlockState(next3).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next3, true); + break; + case EAST: + BlockPos next4 = new BlockPos(pos.getX() - i, pos.getY(), pos.getZ()); + if (tool.canHarvestBlock(world.getBlockState(next4)) && !world.getBlockState(next4).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next4, true); + break; + case SOUTH: + BlockPos next5 = new BlockPos(pos.getX(), pos.getY(), pos.getZ() - i); + if (tool.canHarvestBlock(world.getBlockState(next5)) && !world.getBlockState(next5).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next5, true); + break; + case NORTH: + BlockPos next6 = new BlockPos(pos.getX(), pos.getY() - i, pos.getZ() + i); + if (tool.canHarvestBlock(world.getBlockState(next6)) && !world.getBlockState(next6).equals(Blocks.BEDROCK.getDefaultState())) + world.destroyBlock(next6, true); + break; + } } + if (random.nextBoolean()) ToolHelper.damageTool(tool, random.nextInt(5), player); } - if (random.nextBoolean()) ToolHelper.damageTool(tool, random.nextInt(5), player); } } diff --git a/src/main/java/com/sosnitzka/taiga/util/Generator.java b/src/main/java/com/sosnitzka/taiga/util/Generator.java index 2bf7cc5..9890bff 100644 --- a/src/main/java/com/sosnitzka/taiga/util/Generator.java +++ b/src/main/java/com/sosnitzka/taiga/util/Generator.java @@ -20,43 +20,43 @@ import java.util.List; import java.util.Random; import java.util.Set; +import static com.google.common.collect.Lists.newArrayList; import static com.sosnitzka.taiga.util.Utils.nextInt; public class Generator { - public static void generateOre(IBlockState state, IBlockState replace, Random random, int chunkX, int chunkZ, World world, int chance, int minY, int maxY, int minSize, int maxSize) { - generateOre(state, replace, null, null, random, chunkX, chunkZ, world, chance, minY, maxY, minSize, maxSize, null); + public static void generateOre(IBlockState newState, IBlockState oldState, Random random, int chunkX, int chunkZ, World world, int count, int minY, int maxY, int minSize, int maxSize) { + generateOre(newState, oldState, null, null, random, chunkX, chunkZ, world, count, 100, minY, maxY, minSize, maxSize, null); } - public static void generateOre(IBlockState oldState, IBlockState newState, IProperty property, Comparable comparable, Random random, int chunkX, int chunkZ, World world, int chance, int minY, int maxY, int minSize, int maxSize) { - generateOre(oldState, newState, property, comparable, random, chunkX, chunkZ, world, chance, minY, maxY, minSize, maxSize, null); + public static void generateOre(IBlockState newState, IBlockState oldState, Random random, int chunkX, int chunkZ, World world, int count, int chance, int minY, int maxY, int minSize, int maxSize, List<Biome> biome) { + generateOre(newState, oldState, null, null, random, chunkX, chunkZ, world, count, chance, minY, maxY, minSize, maxSize, biome); } - public static void generateOre(IBlockState oldState, IBlockState newState, Random random, int chunkX, int chunkZ, World world, int chance, int minY, int maxY, int minSize, int maxSize, List<Biome> biome) { - generateOre(oldState, newState, null, null, random, chunkX, chunkZ, world, chance, minY, maxY, minSize, maxSize, null); - } - - public static void generateOre(IBlockState oldState, IBlockState newState, IProperty property, Comparable comparable, Random random, int chunkX, int chunkZ, World world, int chance, int minY, int maxY, int minSize, int maxSize, List<Biome> biome) { + public static void generateOre(IBlockState newState, IBlockState oldState, IProperty property, Comparable comparable, Random random, int chunkX, int chunkZ, World world, int count, int chance, int minY, int maxY, int minSize, int maxSize, List<Biome> biome) { int size = minSize + random.nextInt(maxSize - minSize); int height = maxY - minY; - for (int i = 0; i < chance; i++) { - int posX = chunkX + random.nextInt(16); - int posY = random.nextInt(height) + minY; - int posZ = chunkZ + random.nextInt(16); - BlockPos cPos = new BlockPos(posX, posY, posZ); - if (biome == null || biome.contains(world.getBiome(cPos))) { - new WorldGenMinable(oldState, size, StateMatcher.forState(newState, property, comparable)).generate(world, random, new BlockPos(posX, posY, posZ)); + for (int i = 0; i < count; i++) { + if (0.01f * chance >= random.nextFloat()) { + int posX = chunkX + random.nextInt(16); + int posY = random.nextInt(height) + minY; + int posZ = chunkZ + random.nextInt(16); + BlockPos cPos = new BlockPos(posX, posY, posZ); + if (biome == null || biome.contains(world.getBiome(cPos))) { + new WorldGenMinable(newState, size, StateMatcher.forState(oldState, property, comparable)).generate(world, random, new BlockPos(posX, posY, posZ)); + } } + } } - public static void generateOreDescending(List<IBlockState> replaceBlockList, IBlockState replacementBlock, Random random, int chunkX, int chunkZ, World world, int count, int minY, int maxY, int chance) { + public static void generateOre(List<IBlockState> replaceBlockList, IBlockState replacementBlock, Random random, int chunkX, int chunkZ, World world, int count, int minY, int maxY, int chance) { if (random.nextFloat() < (float) (0.01 * chance)) - generateOreDescendingTopLayer(replaceBlockList, replacementBlock, random, chunkX, chunkZ, world, count, minY, maxY); + generateOreDescending(replaceBlockList, replacementBlock, random, chunkX, chunkZ, world, count, minY, maxY); } - public static void generateOreDescendingTopLayer(List<IBlockState> replaceBlockList, IBlockState replacementBlock, Random random, int chunkX, int chunkZ, World world, int count, int minY, int maxY) { + public static void generateOreDescending(List<IBlockState> replaceBlockList, IBlockState replacementBlock, Random random, int chunkX, int chunkZ, World world, int count, int minY, int maxY) { for (int i = 0; i < count; i++) { int posX = chunkX + random.nextInt(16); int posZ = chunkZ + random.nextInt(16); @@ -74,29 +74,45 @@ public class Generator { } } - public static void generateOreDescending(IBlockState oldState, IBlockState newState, IProperty property, List<BlockStone.EnumType> comparable, Random random, int chunkX, int chunkZ, World world, int count) { - for (int i = 0; i < count; i++) { + public static void generateOreStoneVariant(IBlockState newState, BlockStone.EnumType type, Random random, int chunkX, int chunkZ, World world, int count) { + List<BlockStone.EnumType> list = newArrayList(type); + for (int i = 0; i < count; i += 2) { int posX = chunkX + random.nextInt(16); int posZ = chunkZ + random.nextInt(16); - BlockPos cPos = new BlockPos(posX, random.nextInt(64) + 16, posZ); + BlockPos cPos = new BlockPos(posX, random.nextInt(64) + 32, posZ); IBlockState state = world.getBlockState(cPos); - if (state.getBlock().equals(oldState.getBlock())) { - if (comparable.contains(state.getValue(property))) { - System.out.println("Yes, a variant"); + if (state.getBlock().equals(Blocks.STONE.getDefaultState().getBlock())) { + if (list.contains(state.getValue(BlockStone.VARIANT))) { world.setBlockState(cPos, newState); } } else { - while (cPos.getY() > 4) { + while (cPos.getY() >= 0) { cPos = cPos.down(); - if (state.getBlock().equals(oldState.getBlock())) { - if (comparable.contains(state.getValue(property))) { - System.out.println("Yes!! a variant"); + state = world.getBlockState(cPos); + if (state.getBlock().equals(Blocks.STONE.getDefaultState().getBlock())) { + if (list.contains(state.getValue(BlockStone.VARIANT))) { + world.setBlockState(cPos, newState); + break; + } + } + } + } + cPos = new BlockPos(posX, random.nextInt(32), posZ); + state = world.getBlockState(cPos); + if (state.getBlock().equals(Blocks.STONE.getDefaultState().getBlock())) { + if (list.contains(state.getValue(BlockStone.VARIANT))) { + world.setBlockState(cPos, newState); + } + } else { + while (cPos.getY() <= 96) { + cPos = cPos.up(); + state = world.getBlockState(cPos); + if (state.getBlock().equals(Blocks.STONE.getDefaultState().getBlock())) { + if (list.contains(state.getValue(BlockStone.VARIANT))) { world.setBlockState(cPos, newState); - continue; + break; } } - if (random.nextBoolean()) - i--; } } } @@ -186,7 +202,7 @@ public class Generator { } if (!validSurface.contains(Item.getItemFromBlock(world.getBlockState(cPos.down()).getBlock()))) continue; - cPos.down((random.nextInt(3) + 1) * r); + cPos = cPos.down(random.nextInt(r * 2) + r + 1); MeteorWorldSaveData saveData = MeteorWorldSaveData.getForWorld(world); saveData.addPos(cPos); diff --git a/src/main/java/com/sosnitzka/taiga/world/WorldGen.java b/src/main/java/com/sosnitzka/taiga/world/WorldGen.java index 790c951..bd5c614 100644 --- a/src/main/java/com/sosnitzka/taiga/world/WorldGen.java +++ b/src/main/java/com/sosnitzka/taiga/world/WorldGen.java @@ -9,6 +9,7 @@ import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkGenerator; import net.minecraft.world.chunk.IChunkProvider; import net.minecraftforge.fml.common.IWorldGenerator; +import slimeknights.tconstruct.gadgets.block.BlockStoneTorch; import java.util.Random; @@ -19,35 +20,31 @@ import static com.sosnitzka.taiga.TAIGAConfiguration.*; @SuppressWarnings("unchecked") public class WorldGen implements IWorldGenerator { private void nether(Random random, int x, int z, World world) { - System.out.println("TIBERIUM_VAL: " + TIBERIUM_VAL); - System.out.println("PROMETHEUM_VAL: " + PROMETHEUM_VAL); - System.out.println("VALYRIUM_VAL: " + VALYRIUM_VAL); - System.out.println("OSRAM_VAL: " + OSRAM_VAL); Generator.generateOre(Blocks.NETHERRACK.getDefaultState(), tiberiumOre.getDefaultState(), random, x, z, world, TIBERIUM_VAL, 0, 128, 10, 35); Generator.generateOre(Blocks.NETHERRACK.getDefaultState(), prometheumOre.getDefaultState(), random, x, z, world, PROMETHEUM_VAL, 0, 128, 2, 4); Generator.generateOre(Blocks.NETHERRACK.getDefaultState(), valyriumOre.getDefaultState(), random, x, z, world, VALYRIUM_VAL, 0, 32, 2, 4); - Generator.generateOreDescending(newArrayList(Blocks.LAVA.getDefaultState(), Blocks.FLOWING_LAVA.getDefaultState()), osramOre.getDefaultState(), random, x, z, world, OSRAM_VAL, 0, 64, 15); + Generator.generateOre(newArrayList(Blocks.LAVA.getDefaultState(), Blocks.FLOWING_LAVA.getDefaultState()), osramOre.getDefaultState(), random, x, z, world, OSRAM_VAL, 0, 64, 15); } private void world(Random random, int x, int z, World world) { Generator.generateMeteor(duraniteOre.getDefaultState(), blockMeteorite.getDefaultState(), random, x, z, world, DURANITE_VAL, 6, 16, 112); - Generator.generateOreDescendingTopLayer(newArrayList(Blocks.LAVA.getDefaultState(), Blocks.FLOWING_LAVA.getDefaultState()), basaltBlock.getDefaultState(), random, x, z, world, BASALT_VAL, 0, 64); - Generator.generateOreDescendingTopLayer(newArrayList(Blocks.BEDROCK.getDefaultState()), eezoOre.getDefaultState(), random, x, z, world, EEZO_VAL, 0, 10); - - Generator.generateOreDescending(Blocks.STONE.getDefaultState(), karmesineOre.getDefaultState(), BlockStone.VARIANT, newArrayList(BlockStone.EnumType.DIORITE, BlockStone.EnumType.GRANITE, BlockStone.EnumType.ANDESITE), random, x, z, world, KARMESINE_VAL); - - Generator.generateOre(vibraniumOre.getDefaultState(), Blocks.STONE.getDefaultState(), random, x, z, world, VIBRANIUM_VAL, 0, 64, 2, 12, newArrayList(Biomes.DESERT_HILLS, Biomes.EXTREME_HILLS, Biomes.EXTREME_HILLS_EDGE, Biomes.EXTREME_HILLS_WITH_TREES, Biomes.DESERT)); - Generator.generateOre(vibraniumOre.getDefaultState(), Blocks.STONE.getDefaultState(), random, x, z, world, 1, 0, 128, 1, 3, null); + Generator.generateOreDescending(newArrayList(Blocks.LAVA.getDefaultState(), Blocks.FLOWING_LAVA.getDefaultState()), basaltBlock.getDefaultState(), random, x, z, world, BASALT_VAL, 0, 64); + Generator.generateOreDescending(newArrayList(Blocks.BEDROCK.getDefaultState()), eezoOre.getDefaultState(), random, x, z, world, EEZO_VAL, 0, 10); + Generator.generateOreStoneVariant(karmesineOre.getDefaultState(), BlockStone.EnumType.ANDESITE, random, x, z, world, KARMESINE_VAL); + Generator.generateOreStoneVariant(oviumOre.getDefaultState(), BlockStone.EnumType.DIORITE, random, x, z, world, OVIUM_VAL); + Generator.generateOreStoneVariant(jauxumOre.getDefaultState(), BlockStone.EnumType.GRANITE, random, x, z, world, JAUXUM_VAL); + Generator.generateOre(vibraniumOre.getDefaultState(), Blocks.STONE.getDefaultState(), random, x, z, world, VIBRANIUM_VAL, 100, 0, 64, 2, 9, newArrayList(Biomes.DESERT_HILLS, Biomes.EXTREME_HILLS, Biomes.EXTREME_HILLS_EDGE, Biomes.EXTREME_HILLS_WITH_TREES, Biomes.DESERT)); + Generator.generateOre(vibraniumOre.getDefaultState(), Blocks.STONE.getDefaultState(), random, x, z, world, 1, 25, 0, 128, 1, 5, null); if (ironGen) { - Generator.generateOre(Blocks.STONE.getDefaultState(), Blocks.IRON_ORE.getDefaultState(), random, x, z, world, IRON_VAL + 2000, 0, 32, 2, 8); + Generator.generateOre(Blocks.IRON_ORE.getDefaultState(), Blocks.STONE.getDefaultState(), random, x, z, world, IRON_VAL, 0, 32, 2, 8); } } private void end(Random random, int x, int z, World world) { Generator.generateCube(true, uruOre.getDefaultState(), blockObsidiorite.getDefaultState(), random, x, z, world, URU_VAL, 2, 0, 96, 3); if (endGen) - Generator.generateOre(Blocks.END_STONE.getDefaultState(), Blocks.AIR.getDefaultState(), null, null, random, x, z, world, 1, 3, 64, 3, 8, null); + Generator.generateOre(Blocks.END_STONE.getDefaultState(), Blocks.AIR.getDefaultState(), null, null, random, x, z, world, 1, 100, 3, 64, 3, 8, null); Generator.generateOre(Blocks.END_STONE.getDefaultState(), auroriumOre.getDefaultState(), random, x, z, world, AURORIUM_VAL, 32, 48, 2, 4); Generator.generateOre(Blocks.END_STONE.getDefaultState(), palladiumOre.getDefaultState(), random, x, z, world, PALLADIUM_VAL, 48, 64, 2, 4); Generator.generateOreBottom(Blocks.END_STONE.getDefaultState(), abyssumOre.getDefaultState(), random, x, z, world, ABYSSUM_VAL, 4, 64); diff --git a/src/main/resources/assets/taiga/blockstates/fluid_block.json b/src/main/resources/assets/taiga/blockstates/fluid_block.json index 20fbe16..8ea98d9 100644 --- a/src/main/resources/assets/taiga/blockstates/fluid_block.json +++ b/src/main/resources/assets/taiga/blockstates/fluid_block.json @@ -88,6 +88,27 @@ } } ], + "jauxum_fluid": [ + { + "custom": { + "fluid": "jauxum_fluid" + } + } + ], + "ovium_fluid": [ + { + "custom": { + "fluid": "ovium_fluid" + } + } + ], + "terrax_fluid": [ + { + "custom": { + "fluid": "terrax_fluid" + } + } + ], "palladium_fluid": [ { "custom": { diff --git a/src/main/resources/assets/taiga/blockstates/karmesinediorite_ore.json b/src/main/resources/assets/taiga/blockstates/jauxum_block.json index 07ba243..6df85dc 100644 --- a/src/main/resources/assets/taiga/blockstates/karmesinediorite_ore.json +++ b/src/main/resources/assets/taiga/blockstates/jauxum_block.json @@ -3,7 +3,7 @@ "defaults": { "model": "minecraft:cube_all", "textures": { - "all": "taiga:blocks/ore/karmesinediorite" + "all": "taiga:blocks/block/jauxum" }, "transform": "forge:default-block" }, diff --git a/src/main/resources/assets/taiga/blockstates/karmesinegranite_ore.json b/src/main/resources/assets/taiga/blockstates/jauxum_ore.json index 534c33e..846b091 100644 --- a/src/main/resources/assets/taiga/blockstates/karmesinegranite_ore.json +++ b/src/main/resources/assets/taiga/blockstates/jauxum_ore.json @@ -3,7 +3,7 @@ "defaults": { "model": "minecraft:cube_all", "textures": { - "all": "taiga:blocks/ore/karmesinegranite" + "all": "taiga:blocks/ore/jauxum" }, "transform": "forge:default-block" }, diff --git a/src/main/resources/assets/taiga/blockstates/karmesineandensite_ore.json b/src/main/resources/assets/taiga/blockstates/ovium_block.json index bd66801..4052bcc 100644 --- a/src/main/resources/assets/taiga/blockstates/karmesineandensite_ore.json +++ b/src/main/resources/assets/taiga/blockstates/ovium_block.json @@ -3,7 +3,7 @@ "defaults": { "model": "minecraft:cube_all", "textures": { - "all": "taiga:blocks/ore/karmesineandensite" + "all": "taiga:blocks/block/ovium" }, "transform": "forge:default-block" }, diff --git a/src/main/resources/assets/taiga/blockstates/ovium_ore.json b/src/main/resources/assets/taiga/blockstates/ovium_ore.json new file mode 100644 index 0000000..1c36838 --- /dev/null +++ b/src/main/resources/assets/taiga/blockstates/ovium_ore.json @@ -0,0 +1,18 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "minecraft:cube_all", + "textures": { + "all": "taiga:blocks/ore/ovium" + }, + "transform": "forge:default-block" + }, + "variants": { + "normal": [ + {} + ], + "inventory": [ + {} + ] + } +}
\ No newline at end of file diff --git a/src/main/resources/assets/taiga/blockstates/terrax_block.json b/src/main/resources/assets/taiga/blockstates/terrax_block.json new file mode 100644 index 0000000..5bd661d --- /dev/null +++ b/src/main/resources/assets/taiga/blockstates/terrax_block.json @@ -0,0 +1,18 @@ +{ + "forge_marker": 1, + "defaults": { + "model": "minecraft:cube_all", + "textures": { + "all": "taiga:blocks/block/terrax" + }, + "transform": "forge:default-block" + }, + "variants": { + "normal": [ + {} + ], + "inventory": [ + {} + ] + } +}
\ No newline at end of file diff --git a/src/main/resources/assets/taiga/lang/de_DE.lang b/src/main/resources/assets/taiga/lang/de_DE.lang index eacf957..b96f169 100644 --- a/src/main/resources/assets/taiga/lang/de_DE.lang +++ b/src/main/resources/assets/taiga/lang/de_DE.lang @@ -6,6 +6,9 @@ material.duranite.name=Duranite material.valyrium.name=Valyrium material.vibranium.name=Vibranium material.karmesine.name=Karmesine +material.jauxum.name=Jauxum +material.ovium.name=Ovium +material.terrax.name=Terrax material.palladium.name=Palladium material.uru.name=Uru material.osram.name=Osram @@ -42,6 +45,9 @@ tile.duranite_block.name=Duranite Block tile.valyrium_block.name=Valyrium Block tile.vibranium_block.name=Vibranium Block tile.karmesine_block.name=Karmesine Block +tile.jauxum_block.name=Jauxum Block +tile.ovium_block.name=Ovium Block +tile.terrax_block.name=Terrax Block tile.palladium_block.name=Palladium Block tile.uru_block.name=Uru Block tile.osram_block.name=Osram Block @@ -78,6 +84,9 @@ tile.duranite_ore.name=Duranite Erz tile.valyrium_ore.name=Valyrium Erz tile.vibranium_ore.name=Vibranium Erz tile.karmesine_ore.name=Karmesine Erz +tile.jauxum_ore.name=Jauxum Erz +tile.ovium_ore.name=Ovium Erz +tile.terrax_ore.name=Terrax Erz tile.palladium_ore.name=Palladium Erz tile.uru_ore.name=Uru Erz tile.osram_ore.name=Osram Erz @@ -114,6 +123,9 @@ item.duranite_nugget.name=Duranite Nugget item.valyrium_nugget.name=Valyrium Nugget item.vibranium_nugget.name=Vibranium Nugget item.karmesine_nugget.name=Karmesine Nugget +tile.jauxum_nugget.name=Jauxum Nugget +tile.ovium_nugget.name=Ovium Nugget +tile.terrax_nugget.name=Terrax Nugget item.palladium_nugget.name=Palladium Nugget item.uru_nugget.name=Uru Nugget item.osram_nugget.name=Osram Nugget @@ -150,6 +162,9 @@ item.duranite_dust.name=Duranite Staub item.valyrium_dust.name=Valyrium Staub item.vibranium_dust.name=Vibranium Staub item.karmesine_dust.name=Karmesine Staub +tile.jauxum_dust.name=Jauxum Staub +tile.ovium_dust.name=Ovium Staub +tile.terrax_dust.name=Terrax Staub item.palladium_dust.name=Palladium Staub item.uru_dust.name=Uru Staub item.osram_dust.name=Osram Staub @@ -186,6 +201,9 @@ item.duranite_ingot.name=Duranite Barren item.valyrium_ingot.name=Valyrium Barren item.vibranium_ingot.name=Vibranium Barren item.karmesine_ingot.name=Karmesine Barren +tile.jauxum_ingot.name=Jauxum Barren +tile.ovium_ingot.name=Ovium Barren +tile.terrax_ingot.name=Terrax Barren item.palladium_ingot.name=Palladium Barren item.uru_ingot.name=Uru Barren item.osram_ingot.name=Osram Barren @@ -222,6 +240,9 @@ fluid.tconstruct.duranite_fluid.name=Duranite Fluid fluid.tconstruct.valyrium_fluid.name=Valyrium Fluid fluid.tconstruct.vibranium_fluid.name=Vibranium Fluid fluid.tconstruct.karmesine_fluid.name=Karmesine Fluid +fluid.tconstruct.jauxum_fluid.name=Jauxum Fluid +fluid.tconstruct.ovium_fluid.name=Ovium Fluid +fluid.tconstruct.terrax_fluid.name=Terrax Fluid fluid.tconstruct.palladium_fluid.name=Palladium Fluid fluid.tconstruct.uru_fluid.name=Uru Fluid fluid.tconstruct.osram_fluid.name=Osram Fluid diff --git a/src/main/resources/assets/taiga/lang/en_US.lang b/src/main/resources/assets/taiga/lang/en_US.lang index 557c5af..75cc117 100644 --- a/src/main/resources/assets/taiga/lang/en_US.lang +++ b/src/main/resources/assets/taiga/lang/en_US.lang @@ -6,6 +6,9 @@ material.duranite.name=Duranite material.valyrium.name=Valyrium material.vibranium.name=Vibranium material.karmesine.name=Karmesine +material.jauxum.name=Jauxum +material.ovium.name=Ovium +material.terrax.name=Terrax material.palladium.name=Palladium material.uru.name=Uru material.osram.name=Osram @@ -42,6 +45,9 @@ tile.duranite_block.name=Duranite Block tile.valyrium_block.name=Valyrium Block tile.vibranium_block.name=Vibranium Block tile.karmesine_block.name=Karmesine Block +tile.jauxum_block.name=Jauxum Block +tile.ovium_block.name=Ovium Block +tile.terrax_block.name=Terrax Block tile.palladium_block.name=Palladium Block tile.uru_block.name=Uru Block tile.osram_block.name=Osram Block @@ -78,6 +84,9 @@ tile.duranite_ore.name=Duranite Ore tile.valyrium_ore.name=Valyrium Ore tile.vibranium_ore.name=Vibranium Ore tile.karmesine_ore.name=Karmesine Ore +tile.jauxum_ore.name=Jauxum Ore +tile.ovium_ore.name=Ovium Ore +tile.terrax_ore.name=Terrax Ore tile.palladium_ore.name=Palladium Ore tile.uru_ore.name=Uru Ore tile.osram_ore.name=Osram Ore @@ -114,6 +123,9 @@ item.duranite_nugget.name=Duranite Nugget item.valyrium_nugget.name=Valyrium Nugget item.vibranium_nugget.name=Vibranium Nugget item.karmesine_nugget.name=Karmesine Nugget +tile.jauxum_nugget.name=Jauxum Nugget +tile.ovium_nugget.name=Ovium Nugget +tile.terrax_nugget.name=Terrax Nugget item.palladium_nugget.name=Palladium Nugget item.uru_nugget.name=Uru Nugget item.osram_nugget.name=Osram Nugget @@ -150,6 +162,9 @@ item.duranite_dust.name=Duranite Dust item.valyrium_dust.name=Valyrium Dust item.vibranium_dust.name=Vibranium Dust item.karmesine_dust.name=Karmesine Dust +tile.jauxum_dust.name=Jauxum Dust +tile.ovium_dust.name=Ovium Dust +tile.terrax_dust.name=Terrax Dust item.palladium_dust.name=Palladium Dust item.uru_dust.name=Uru Dust item.osram_dust.name=Osram Dust @@ -186,6 +201,9 @@ item.duranite_ingot.name=Duranite Ingot item.valyrium_ingot.name=Valyrium Ingot item.vibranium_ingot.name=Vibranium Ingot item.karmesine_ingot.name=Karmesine Ingot +tile.jauxum_ingot.name=Jauxum Ingot +tile.ovium_ingot.name=Ovium Ingot +tile.terrax_ingot.name=Terrax Ingot item.palladium_ingot.name=Palladium Ingot item.uru_ingot.name=Uru Ingot item.osram_ingot.name=Osram Ingot @@ -222,6 +240,9 @@ fluid.tconstruct.duranite_fluid.name=Duranite Fluid fluid.tconstruct.valyrium_fluid.name=Valyrium Fluid fluid.tconstruct.vibranium_fluid.name=Vibranium Fluid fluid.tconstruct.karmesine_fluid.name=Karmesine Fluid +fluid.tconstruct.jauxum_fluid.name=Jauxum Fluid +fluid.tconstruct.ovium_fluid.name=Ovium Fluid +fluid.tconstruct.terrax_fluid.name=Terrax Fluid fluid.tconstruct.palladium_fluid.name=Palladium Fluid fluid.tconstruct.uru_fluid.name=Uru Fluid fluid.tconstruct.osram_fluid.name=Osram Fluid diff --git a/src/main/resources/assets/taiga/textures/blocks/ore/karmesine.png b/src/main/resources/assets/taiga/textures/blocks/ore/karmesine.png Binary files differindex 7e4d7c2..811c9f0 100644 --- a/src/main/resources/assets/taiga/textures/blocks/ore/karmesine.png +++ b/src/main/resources/assets/taiga/textures/blocks/ore/karmesine.png diff --git a/src/main/resources/assets/taiga/textures/blocks/ore/karmesineandensite.png b/src/main/resources/assets/taiga/textures/blocks/ore/karmesineandensite.png Binary files differdeleted file mode 100644 index 7e4d7c2..0000000 --- a/src/main/resources/assets/taiga/textures/blocks/ore/karmesineandensite.png +++ /dev/null diff --git a/src/main/resources/assets/taiga/textures/blocks/ore/karmesinediorite.png b/src/main/resources/assets/taiga/textures/blocks/ore/karmesinediorite.png Binary files differdeleted file mode 100644 index 4f14e7a..0000000 --- a/src/main/resources/assets/taiga/textures/blocks/ore/karmesinediorite.png +++ /dev/null diff --git a/src/main/resources/assets/taiga/textures/blocks/ore/karmesinegranite.png b/src/main/resources/assets/taiga/textures/blocks/ore/karmesinegranite.png Binary files differdeleted file mode 100644 index 9b42d38..0000000 --- a/src/main/resources/assets/taiga/textures/blocks/ore/karmesinegranite.png +++ /dev/null |
