forked from TAIGA/TAIGA
Removed a lot of classes of items and blocks to save space and made it more clear to see everything
This commit is contained in:
@@ -50,7 +50,7 @@ dependencies {
|
|||||||
deobfCompile "codechicken:CodeChickenLib:1.9-2.0.1.21:deobf"
|
deobfCompile "codechicken:CodeChickenLib:1.9-2.0.1.21:deobf"
|
||||||
deobfCompile "codechicken:CodeChickenCore:1.9-2.0.1.53:deobf"
|
deobfCompile "codechicken:CodeChickenCore:1.9-2.0.1.53:deobf"
|
||||||
//deobfCompile "codechicken:NotEnoughItems:1.9-${nei_version}:dev"
|
//deobfCompile "codechicken:NotEnoughItems:1.9-${nei_version}:dev"
|
||||||
|
deobfCompile "slimeknights.mantle:Mantle:1.9-0.10.0.jenkins132:deobf"
|
||||||
deobfCompile "mezz.jei:jei_1.9:3.3.3.197"
|
deobfCompile "mezz.jei:jei_1.9:3.3.3.197"
|
||||||
// compile "tconstruct:TConstruct:1.9-2.2.2.jenkins159:deobf"
|
// compile "tconstruct:TConstruct:1.9-2.2.2.jenkins159:deobf"
|
||||||
}
|
}
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockAardiumOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockAardiumOre() {
|
|
||||||
super("aardium_ore", Material.ROCK, 55.0f, 400.0f, 3);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockAdamantiteOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockAdamantiteOre() {
|
|
||||||
super("adamantite_ore", Material.ROCK, 80.0f, 1000.0f, 4);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockArcaniteOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockArcaniteOre() {
|
|
||||||
super("arcanite_ore", Material.ROCK, 23.0f, 25.0f, 2);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockAxiidianOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockAxiidianOre() {
|
|
||||||
super("axiidian_ore", Material.ROCK, 13.0f, 13.0f, 3);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockBasalt extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockBasalt() {
|
|
||||||
super("basalt", Material.ROCK, 35.0f, 35.0f, 3);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockBismuthOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockBismuthOre() {
|
|
||||||
super("bismuth_ore", Material.ROCK, 8.0f, 8.0f, 1);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockEterniteOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockEterniteOre() {
|
|
||||||
super("eternite_ore", Material.ROCK, 24.0f, 25.0f, 3);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,12 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockIgnititeOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockIgnititeOre() {
|
|
||||||
super("ignitite_ore", Material.ROCK, 23.0f, 25.0f, 3);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockKarmesineOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockKarmesineOre() {
|
|
||||||
super("karmesine_ore", Material.ROCK, 13.0f, 15.0f, 1);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockMeteoriteOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockMeteoriteOre() {
|
|
||||||
super("meteorite_ore", Material.ROCK, 60.0f, 500.0f, 4);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockMindoriteOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockMindoriteOre() {
|
|
||||||
super("mindorite_ore", Material.ROCK, 12.0f, 12.0f, 2);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockMythrilOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockMythrilOre() {
|
|
||||||
super("mythril_ore", Material.ROCK, 25.0f, 25.0f, 4);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockPalladiumOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockPalladiumOre() {
|
|
||||||
super("palladium_ore", Material.ROCK, 25.0f, 25.0f, 3);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOreGlow;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockPrometheumOre extends BasicBlockOreGlow {
|
|
||||||
|
|
||||||
public BlockPrometheumOre() {
|
|
||||||
super("prometheum_ore", Material.ROCK, 35.0f, 35.0f, 4, 0.25f);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,13 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockGround;
|
|
||||||
import net.minecraft.block.SoundType;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockRottenGround extends BasicBlockGround {
|
|
||||||
|
|
||||||
public BlockRottenGround() {
|
|
||||||
super("rotten_ground", Material.GROUND, 2.0f, 2.0f, 0);
|
|
||||||
this.setSoundType(SoundType.GROUND);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockSlaggoldOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockSlaggoldOre() {
|
|
||||||
super("slaggold_ore", Material.ROCK, 3.0f, 5.0f, 1);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockSlagironOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockSlagironOre() {
|
|
||||||
super("slagiron_ore", Material.ROCK, 3.0f, 5.0f, 1);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -15,7 +15,7 @@ import java.util.Random;
|
|||||||
public class BlockTiberiumOre extends BasicBlockOreGlow {
|
public class BlockTiberiumOre extends BasicBlockOreGlow {
|
||||||
|
|
||||||
public BlockTiberiumOre() {
|
public BlockTiberiumOre() {
|
||||||
super("tiberium_ore", Material.ROCK, 30.0f, 30.0f, 3, 0.66f);
|
super("tiberium_ore", Material.ROCK, 30.0f, 30.0f, 3, 0.8f);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -34,6 +34,6 @@ public class BlockTiberiumOre extends BasicBlockOreGlow {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Item getItemDropped(IBlockState state, Random rand, int fortune) {
|
public Item getItemDropped(IBlockState state, Random rand, int fortune) {
|
||||||
return ZCompression;
|
return ZCompression.tiberiumShardInstable;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockVibraniumOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockVibraniumOre() {
|
|
||||||
super("vibranium_ore", Material.ROCK, 70.0f, 800.0f, 4);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,11 +0,0 @@
|
|||||||
package blocks;
|
|
||||||
|
|
||||||
import blocks.category.BasicBlockOre;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
|
|
||||||
public class BlockYrdeanOre extends BasicBlockOre {
|
|
||||||
|
|
||||||
public BlockYrdeanOre() {
|
|
||||||
super("yrdean_ore", Material.ROCK, 13.0f, 15.0f, 3);
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,6 +1,7 @@
|
|||||||
package blocks.category;
|
package blocks.category;
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.SoundType;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
public class BasicBlockGround extends Block {
|
public class BasicBlockGround extends Block {
|
||||||
@@ -12,5 +13,6 @@ public class BasicBlockGround extends Block {
|
|||||||
setHardness(hardness);
|
setHardness(hardness);
|
||||||
setResistance(resistance);
|
setResistance(resistance);
|
||||||
setHarvestLevel("shovel", harvest);
|
setHarvestLevel("shovel", harvest);
|
||||||
|
setSoundType(SoundType.GROUND);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemAardiumIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemAardiumIngot() {
|
|
||||||
super("aardium_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemAdamantiteIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemAdamantiteIngot() {
|
|
||||||
super("adamantite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemArcaniteIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemArcaniteIngot() {
|
|
||||||
super("arcanite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemAxiidianIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemAxiidianIngot() {
|
|
||||||
super("axiidian_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemBismuthIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemBismuthIngot() {
|
|
||||||
super("bismuth_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemEterniteIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemEterniteIngot() {
|
|
||||||
super("eternite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,9 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemFuelBrick extends BasicItem {
|
|
||||||
|
|
||||||
public ItemFuelBrick() {
|
|
||||||
super("fuel_brick");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemIgnititeIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemIgnititeIngot() {
|
|
||||||
super("ignitite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemKarmesineIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemKarmesineIngot() {
|
|
||||||
super("karmesine_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemMeteoriteIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemMeteoriteIngot() {
|
|
||||||
super("meteorite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemMindoriteIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemMindoriteIngot() {
|
|
||||||
super("mindorite_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemMythrilIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemMythrilIngot() {
|
|
||||||
super("mythril_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemPalladiumIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemPalladiumIngot() {
|
|
||||||
super("palladium_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemPrometheumIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemPrometheumIngot() {
|
|
||||||
super("prometheum_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemTiberiumIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemTiberiumIngot() {
|
|
||||||
super("tiberium_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemVibraniumIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemVibraniumIngot() {
|
|
||||||
super("vibranium_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,8 +0,0 @@
|
|||||||
package items;
|
|
||||||
|
|
||||||
public class ItemYrdeanIngot extends BasicItem {
|
|
||||||
|
|
||||||
public ItemYrdeanIngot() {
|
|
||||||
super("yrdean_ingot");
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,6 +1,9 @@
|
|||||||
package main;
|
package main;
|
||||||
|
|
||||||
import blocks.*;
|
import blocks.*;
|
||||||
|
import blocks.category.BasicBlockGround;
|
||||||
|
import blocks.category.BasicBlockOre;
|
||||||
|
import blocks.category.BasicBlockOreGlow;
|
||||||
import fluids.BasicFluid;
|
import fluids.BasicFluid;
|
||||||
import items.*;
|
import items.*;
|
||||||
import main.util.FuelHandler;
|
import main.util.FuelHandler;
|
||||||
@@ -8,6 +11,8 @@ import main.util.recipes.Crafting;
|
|||||||
import main.util.recipes.Smelting;
|
import main.util.recipes.Smelting;
|
||||||
import main.world.ZWorldGen;
|
import main.world.ZWorldGen;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraft.nbt.NBTTagCompound;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraftforge.fluids.Fluid;
|
import net.minecraftforge.fluids.Fluid;
|
||||||
@@ -28,52 +33,60 @@ public class ZCompression {
|
|||||||
|
|
||||||
static final String MODID = "zcompression";
|
static final String MODID = "zcompression";
|
||||||
static final String VERSION = "@VERSION@";
|
static final String VERSION = "@VERSION@";
|
||||||
// Items
|
|
||||||
|
// ITEMS
|
||||||
public static ItemSlagironIngot slagironIngot = new ItemSlagironIngot();
|
public static ItemSlagironIngot slagironIngot = new ItemSlagironIngot();
|
||||||
public static ItemLignite lignite = new ItemLignite();
|
public static ItemLignite lignite = new ItemLignite();
|
||||||
public static ItemIronNugget iron_nugget = new ItemIronNugget();
|
public static ItemIronNugget iron_nugget = new ItemIronNugget();
|
||||||
public static ItemSlaggoldIngot slaggoldIngot = new ItemSlaggoldIngot();
|
public static ItemSlaggoldIngot slaggoldIngot = new ItemSlaggoldIngot();
|
||||||
public static ItemFuelBrick fuel_brick = new ItemFuelBrick();
|
public static Item fuel_brick = new BasicItem("fuel_brick");
|
||||||
|
|
||||||
|
public static Item aardiumIngot = new BasicItem("aardium_ingot");
|
||||||
|
public static Item adamantiteIngot = new BasicItem("adamantite_ingot");
|
||||||
|
public static Item arcaniteIngot = new BasicItem("arcanite_ingot");
|
||||||
|
public static Item axiidianIngot = new BasicItem("axiidian_ingot");
|
||||||
|
public static Item bismuthIngot = new BasicItem("bismuth_ingot");
|
||||||
|
public static Item eterniteIngot = new BasicItem("eternite_ingot");
|
||||||
|
public static Item ignititeIngot = new BasicItem("ignitite_ingot");
|
||||||
|
public static Item karmesineIngot = new BasicItem("karmesine_ingot");
|
||||||
|
public static Item meteoriteIngot = new BasicItem("meteorite_ingot");
|
||||||
|
public static Item mindoriteIngot = new BasicItem("mindorite_ingot");
|
||||||
|
public static Item mythrilIngot = new BasicItem("mythril_ingot");
|
||||||
|
public static Item palladiumIngot = new BasicItem("palladium_ingot");
|
||||||
|
public static Item prometheumIngot = new BasicItem("prometheum_ingot");
|
||||||
|
public static Item tiberiumIngot = new BasicItem("tiberium_ingot");
|
||||||
|
public static Item vibraniumIngot = new BasicItem("vibranium_ingot");
|
||||||
|
public static Item yrdeanIngot = new BasicItem("yrdean_ingot");
|
||||||
|
|
||||||
|
public static Item tiberiumShardInstable = new BasicItem("tiberium_shard_instable");
|
||||||
|
public static Item tiberiumShardStable = new BasicItem("tiberium_shard_stable");
|
||||||
|
|
||||||
|
// BLOCKS
|
||||||
|
public static Block basalt = new BasicBlockOre("basalt", Material.ROCK, 45.0f, 35.0f, 3);
|
||||||
|
public static Block rottenGround = new BasicBlockGround("rotten_ground", Material.GROUND, 2.0f, 2.0f, 0);
|
||||||
|
public static Block ligniteOre = new BlockLigniteOre();
|
||||||
|
|
||||||
|
|
||||||
|
public static Block aardiumOre = new BasicBlockOre("aardium_ore", Material.ROCK, 55.0f, 400.0f, 3);
|
||||||
|
public static Block adamantiteOre = new BasicBlockOre("adamantite_ore", Material.ROCK, 80.0f, 1000.0f, 4);
|
||||||
|
public static Block arcaniteOre = new BasicBlockOre("arcanite_ore", Material.ROCK, 23.0f, 25.0f, 2);
|
||||||
|
public static Block axiidianOre = new BasicBlockOre("axiidian_ore", Material.ROCK, 13.0f, 13.0f, 3);
|
||||||
|
public static Block bismuthOre = new BasicBlockOre("bismuth_ore", Material.ROCK, 8.0f, 8.0f, 1);
|
||||||
|
public static Block eterniteOre = new BasicBlockOre("eternite_ore", Material.ROCK, 24.0f, 25.0f, 3);
|
||||||
|
public static Block ignititeOre = new BasicBlockOre("ignitite_ore", Material.ROCK, 23.0f, 25.0f, 3);
|
||||||
|
public static Block karmesineOre = new BasicBlockOre("karmesine_ore", Material.ROCK, 13.0f, 15.0f, 1);
|
||||||
|
public static Block meteoriteOre = new BasicBlockOre("meteorite_ore", Material.ROCK, 60.0f, 500.0f, 4);
|
||||||
|
public static Block mindoriteOre = new BasicBlockOre("mindorite_ore", Material.ROCK, 12.0f, 12.0f, 2);
|
||||||
|
public static Block mythrilOre = new BasicBlockOre("mythril_ore", Material.ROCK, 25.0f, 25.0f, 4);
|
||||||
|
public static Block palladiumOre = new BasicBlockOre("palladium_ore", Material.ROCK, 25.0f, 25.0f, 3);
|
||||||
|
public static Block prometheumOre = new BasicBlockOreGlow("prometheum_ore", Material.ROCK, 35.0f, 35.0f, 4, 0.25f);
|
||||||
|
public static Block slagironOre = new BasicBlockOre("slagiron_ore", Material.ROCK, 3.0f, 5.0f, 1);
|
||||||
|
public static Block slaggoldOre = new BasicBlockOre("slaggold_ore", Material.ROCK, 3.0f, 5.0f, 1);
|
||||||
|
public static Block tiberiumOre = new BlockTiberiumOre();
|
||||||
|
public static Block vibraniumOre = new BasicBlockOre("vibranium_ore", Material.ROCK, 70.0f, 800.0f, 4);
|
||||||
|
public static Block yrdeanOre = new BasicBlockOre("yrdean_ore", Material.ROCK, 13.0f, 15.0f, 3);
|
||||||
|
|
||||||
public static ItemAardiumIngot aardiumIngot = new ItemAardiumIngot();
|
|
||||||
public static ItemAdamantiteIngot adamantiteIngot = new ItemAdamantiteIngot();
|
|
||||||
public static ItemArcaniteIngot arcaniteIngot = new ItemArcaniteIngot();
|
|
||||||
public static ItemAxiidianIngot axiidianIngot = new ItemAxiidianIngot();
|
|
||||||
public static ItemBismuthIngot bismuthIngot = new ItemBismuthIngot();
|
|
||||||
public static ItemEterniteIngot eterniteIngot = new ItemEterniteIngot();
|
|
||||||
public static ItemIgnititeIngot ignititeIngot = new ItemIgnititeIngot();
|
|
||||||
public static ItemKarmesineIngot karmesineIngot = new ItemKarmesineIngot();
|
|
||||||
public static ItemMeteoriteIngot meteoriteIngot = new ItemMeteoriteIngot();
|
|
||||||
public static ItemMindoriteIngot mindoriteIngot = new ItemMindoriteIngot();
|
|
||||||
public static ItemMythrilIngot mythrilIngot = new ItemMythrilIngot();
|
|
||||||
public static ItemPalladiumIngot palladiumIngot = new ItemPalladiumIngot();
|
|
||||||
public static ItemPrometheumIngot prometheumIngot = new ItemPrometheumIngot();
|
|
||||||
public static ItemTiberiumIngot tiberiumIngot = new ItemTiberiumIngot();
|
|
||||||
public static ItemVibraniumIngot vibraniumIngot = new ItemVibraniumIngot();
|
|
||||||
public static ItemYrdeanIngot yrdeanIngot = new ItemYrdeanIngot();
|
|
||||||
|
|
||||||
//Blocks, esp. for tconstruct
|
|
||||||
public static BlockAardiumOre aardiumOre = new BlockAardiumOre();
|
|
||||||
public static BlockAdamantiteOre adamantiteOre = new BlockAdamantiteOre();
|
|
||||||
public static BlockArcaniteOre arcaniteOre = new BlockArcaniteOre();
|
|
||||||
public static BlockAxiidianOre axiidianOre = new BlockAxiidianOre();
|
|
||||||
public static BlockBasalt basalt = new BlockBasalt();
|
|
||||||
public static BlockBismuthOre bismuthOre = new BlockBismuthOre();
|
|
||||||
public static BlockEterniteOre eterniteOre = new BlockEterniteOre();
|
|
||||||
public static BlockIgnititeOre ignititeOre = new BlockIgnititeOre();
|
|
||||||
public static BlockKarmesineOre karmesineOre = new BlockKarmesineOre();
|
|
||||||
public static BlockLigniteOre ligniteOre = new BlockLigniteOre();
|
|
||||||
public static BlockMeteoriteOre meteoriteOre = new BlockMeteoriteOre();
|
|
||||||
public static BlockMindoriteOre mindoriteOre = new BlockMindoriteOre();
|
|
||||||
public static BlockMythrilOre mythrilOre = new BlockMythrilOre();
|
|
||||||
public static BlockPalladiumOre palladiumOre = new BlockPalladiumOre();
|
|
||||||
public static BlockPrometheumOre prometheumOre = new BlockPrometheumOre();
|
|
||||||
public static BlockRottenGround rottenGround = new BlockRottenGround();
|
|
||||||
public static BlockSlagironOre slagironOre = new BlockSlagironOre();
|
|
||||||
public static BlockSlaggoldOre slaggoldOre = new BlockSlaggoldOre();
|
|
||||||
public static BlockTiberiumOre tiberiumOre = new BlockTiberiumOre();
|
|
||||||
public static BlockVibraniumOre vibraniumOre = new BlockVibraniumOre();
|
|
||||||
public static BlockYrdeanOre yrdeanOre = new BlockYrdeanOre();
|
|
||||||
|
|
||||||
|
|
||||||
@SidedProxy(clientSide = "proxy.ClientProxy", serverSide = "proxy.ServerProxy")
|
@SidedProxy(clientSide = "proxy.ClientProxy", serverSide = "proxy.ServerProxy")
|
||||||
@@ -88,9 +101,9 @@ public class ZCompression {
|
|||||||
public void preInit(FMLPreInitializationEvent e) {
|
public void preInit(FMLPreInitializationEvent e) {
|
||||||
|
|
||||||
//Items
|
//Items
|
||||||
BasicItem tiberiumShardInstable = new BasicItem("tiberiumShardInstable");
|
|
||||||
GameRegistry.register(tiberiumShardInstable);
|
|
||||||
|
|
||||||
|
GameRegistry.register(tiberiumShardInstable);
|
||||||
|
GameRegistry.register(tiberiumShardStable);
|
||||||
|
|
||||||
GameRegistry.register(slagironIngot);
|
GameRegistry.register(slagironIngot);
|
||||||
GameRegistry.register(fuel_brick);
|
GameRegistry.register(fuel_brick);
|
||||||
|
@@ -13,7 +13,7 @@ public class FuelHandler implements IFuelHandler {
|
|||||||
return 200 * 2;
|
return 200 * 2;
|
||||||
}
|
}
|
||||||
if (fuel.getItem().equals(ZCompression.fuel_brick)) {
|
if (fuel.getItem().equals(ZCompression.fuel_brick)) {
|
||||||
return RandomUtils.nextInt(1, 64) * 200;
|
return RandomUtils.nextInt(1, RandomUtils.nextInt(1, RandomUtils.nextInt(1, 64))) * 200;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -16,6 +16,8 @@ public class Smelting {
|
|||||||
GameRegistry.addSmelting(ZCompression.slagironOre, new ItemStack(ZCompression.slagironIngot),1.0F);
|
GameRegistry.addSmelting(ZCompression.slagironOre, new ItemStack(ZCompression.slagironIngot),1.0F);
|
||||||
GameRegistry.addSmelting(new ItemStack(ZCompression.slagironIngot, 3),new ItemStack(ZCompression.iron_nugget), 0);
|
GameRegistry.addSmelting(new ItemStack(ZCompression.slagironIngot, 3),new ItemStack(ZCompression.iron_nugget), 0);
|
||||||
GameRegistry.addSmelting(new ItemStack(ZCompression.slaggoldIngot, 3),new ItemStack(Items.GOLD_NUGGET), 0);
|
GameRegistry.addSmelting(new ItemStack(ZCompression.slaggoldIngot, 3),new ItemStack(Items.GOLD_NUGGET), 0);
|
||||||
|
GameRegistry.addSmelting(new ItemStack(ZCompression.tiberiumShardInstable), new ItemStack(ZCompression.tiberiumShardStable), 0.2F);
|
||||||
|
|
||||||
|
|
||||||
GameRegistry.addSmelting(ZCompression.aardiumOre, new ItemStack(ZCompression.aardiumIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.aardiumOre, new ItemStack(ZCompression.aardiumIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.arcaniteOre, new ItemStack(ZCompression.arcaniteIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.arcaniteOre, new ItemStack(ZCompression.arcaniteIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
@@ -30,7 +32,7 @@ public class Smelting {
|
|||||||
GameRegistry.addSmelting(ZCompression.mythrilOre, new ItemStack(ZCompression.mythrilIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.mythrilOre, new ItemStack(ZCompression.mythrilIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.palladiumOre, new ItemStack(ZCompression.palladiumIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.palladiumOre, new ItemStack(ZCompression.palladiumIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.prometheumOre, new ItemStack(ZCompression.prometheumIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.prometheumOre, new ItemStack(ZCompression.prometheumIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.tiberiumOre, new ItemStack(ZCompression.tiberiumIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.tiberiumOre, new ItemStack(ZCompression.tiberiumShardStable, 2), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.vibraniumOre, new ItemStack(ZCompression.vibraniumIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.vibraniumOre, new ItemStack(ZCompression.vibraniumIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
GameRegistry.addSmelting(ZCompression.yrdeanOre, new ItemStack(ZCompression.yrdeanIngot), RandomUtils.nextFloat(0F, 2F));
|
GameRegistry.addSmelting(ZCompression.yrdeanOre, new ItemStack(ZCompression.yrdeanIngot), RandomUtils.nextFloat(0F, 2F));
|
||||||
|
|
||||||
|
@@ -24,6 +24,9 @@ public class ClientProxy extends ServerProxy {
|
|||||||
registerItemModel(ZCompression.lignite);
|
registerItemModel(ZCompression.lignite);
|
||||||
registerItemModel(ZCompression.iron_nugget);
|
registerItemModel(ZCompression.iron_nugget);
|
||||||
registerItemModel(ZCompression.fuel_brick);
|
registerItemModel(ZCompression.fuel_brick);
|
||||||
|
registerItemModel(ZCompression.tiberiumShardInstable);
|
||||||
|
registerItemModel(ZCompression.tiberiumShardStable);
|
||||||
|
|
||||||
|
|
||||||
registerItemModel(ZCompression.aardiumIngot);
|
registerItemModel(ZCompression.aardiumIngot);
|
||||||
registerItemModel(ZCompression.adamantiteIngot);
|
registerItemModel(ZCompression.adamantiteIngot);
|
||||||
|
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "zcompression:items/tiberium_shard_instable"
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "zcompression:items/tiberium_shard_stable"
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user