general code cleanup
@ -975,7 +975,7 @@ public class ModBlocks {
|
|||||||
ore_coal_oil = new BlockCoalOil(Material.rock).setBlockName("ore_coal_oil").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_coal_oil");
|
ore_coal_oil = new BlockCoalOil(Material.rock).setBlockName("ore_coal_oil").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_coal_oil");
|
||||||
ore_coal_oil_burning = new BlockCoalBurning(Material.rock).setBlockName("ore_coal_oil_burning").setCreativeTab(MainRegistry.blockTab).setLightLevel(10F/15F).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_coal_oil_burning");
|
ore_coal_oil_burning = new BlockCoalBurning(Material.rock).setBlockName("ore_coal_oil_burning").setCreativeTab(MainRegistry.blockTab).setLightLevel(10F/15F).setHardness(5.0F).setResistance(15.0F).setBlockTextureName(RefStrings.MODID + ":ore_coal_oil_burning");
|
||||||
|
|
||||||
ore_nether_coal = new BlockOutgas(Material.rock, true, 5, true).setBlockName("ore_nether_coal").setCreativeTab(MainRegistry.blockTab).setLightLevel(10F/15F).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_coal");
|
ore_nether_coal = new BlockNetherCoal(Material.rock, true, 5, true).setBlockName("ore_nether_coal").setCreativeTab(MainRegistry.blockTab).setLightLevel(10F/15F).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_coal");
|
||||||
ore_nether_smoldering = new BlockSmolder(Material.rock).setBlockName("ore_nether_smoldering").setCreativeTab(MainRegistry.blockTab).setLightLevel(1F).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_smoldering");
|
ore_nether_smoldering = new BlockSmolder(Material.rock).setBlockName("ore_nether_smoldering").setCreativeTab(MainRegistry.blockTab).setLightLevel(1F).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_smoldering");
|
||||||
ore_nether_uranium = new BlockOutgas(Material.rock, true, 5, false).setBlockName("ore_nether_uranium").setCreativeTab(MainRegistry.blockTab).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium");
|
ore_nether_uranium = new BlockOutgas(Material.rock, true, 5, false).setBlockName("ore_nether_uranium").setCreativeTab(MainRegistry.blockTab).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium");
|
||||||
ore_nether_uranium_scorched = new BlockOutgas(Material.rock, true, 5, false).setBlockName("ore_nether_uranium_scorched").setCreativeTab(MainRegistry.blockTab).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium_scorched");
|
ore_nether_uranium_scorched = new BlockOutgas(Material.rock, true, 5, false).setBlockName("ore_nether_uranium_scorched").setCreativeTab(MainRegistry.blockTab).setHardness(0.4F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":ore_nether_uranium_scorched");
|
||||||
@ -1070,7 +1070,7 @@ public class ModBlocks {
|
|||||||
block_desh = new BlockGeneric(Material.iron).setBlockName("block_desh").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_desh");
|
block_desh = new BlockGeneric(Material.iron).setBlockName("block_desh").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_desh");
|
||||||
block_dura_steel = new BlockGeneric(Material.iron).setBlockName("block_dura_steel").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_dura_steel");
|
block_dura_steel = new BlockGeneric(Material.iron).setBlockName("block_dura_steel").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_dura_steel");
|
||||||
block_starmetal = new BlockGeneric(Material.iron).setBlockName("block_starmetal").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_starmetal");
|
block_starmetal = new BlockGeneric(Material.iron).setBlockName("block_starmetal").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeMetal).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_starmetal");
|
||||||
block_yellowcake = new BlockHazardFalling().addRadiation(ItemHazard.yc + ItemHazard.block).toBlock().setBlockName("block_yellowcake").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeSand).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_yellowcake");
|
block_yellowcake = new BlockHazardFalling().addRadiation(ItemHazard.yc * ItemHazard.block).toBlock().setBlockName("block_yellowcake").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeSand).setHardness(5.0F).setResistance(600.0F).setBlockTextureName(RefStrings.MODID + ":block_yellowcake");
|
||||||
block_insulator = new BlockRotatablePillar(Material.cloth, RefStrings.MODID + ":block_insulator_top").setBlockName("block_insulator").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_insulator_side");
|
block_insulator = new BlockRotatablePillar(Material.cloth, RefStrings.MODID + ":block_insulator_top").setBlockName("block_insulator").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_insulator_side");
|
||||||
block_fiberglass = new BlockRotatablePillar(Material.cloth, RefStrings.MODID + ":block_fiberglass_top").setBlockName("block_fiberglass").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_fiberglass_side");
|
block_fiberglass = new BlockRotatablePillar(Material.cloth, RefStrings.MODID + ":block_fiberglass_top").setBlockName("block_fiberglass").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_fiberglass_side");
|
||||||
block_asbestos = new BlockOutgas(Material.cloth, true, 5, true).addAsbestos().toBlock().setBlockName("block_asbestos").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_asbestos");
|
block_asbestos = new BlockOutgas(Material.cloth, true, 5, true).addAsbestos().toBlock().setBlockName("block_asbestos").setCreativeTab(MainRegistry.blockTab).setStepSound(Block.soundTypeCloth).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":block_asbestos");
|
||||||
|
|||||||
@ -34,8 +34,8 @@ public class BlockHazardFalling extends BlockFalling implements IItemHazard {
|
|||||||
@Override
|
@Override
|
||||||
public IItemHazard addRadiation(float radiation) {
|
public IItemHazard addRadiation(float radiation) {
|
||||||
this.getModule().addRadiation(radiation);
|
this.getModule().addRadiation(radiation);
|
||||||
this.radIn = radiation;
|
this.radIn = radiation * 0.1F;
|
||||||
this.radMax = radiation * 10;
|
this.radMax = radiation;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,6 +46,8 @@ public class BlockHazardFalling extends BlockFalling implements IItemHazard {
|
|||||||
RadiationSavedData.incrementRad(world, x, z, radIn, radMax);
|
RadiationSavedData.incrementRad(world, x, z, radIn, radMax);
|
||||||
world.scheduleBlockUpdate(x, y, z, this, this.tickRate(world));
|
world.scheduleBlockUpdate(x, y, z, this, this.tickRate(world));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
super.updateTick(world, x, y, z, rand);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
60
src/main/java/com/hbm/blocks/generic/BlockNetherCoal.java
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
package com.hbm.blocks.generic;
|
||||||
|
|
||||||
|
import java.util.Random;
|
||||||
|
|
||||||
|
import com.hbm.items.ModItems;
|
||||||
|
|
||||||
|
import cpw.mods.fml.relauncher.Side;
|
||||||
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.common.util.ForgeDirection;
|
||||||
|
|
||||||
|
public class BlockNetherCoal extends BlockOutgas {
|
||||||
|
|
||||||
|
public BlockNetherCoal(Material mat, boolean randomTick, int rate, boolean onBreak) {
|
||||||
|
super(mat, randomTick, rate, onBreak);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Item getItemDropped(int i, Random rand, int j) {
|
||||||
|
return ModItems.coal_infernal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onEntityWalking(World world, int x, int y, int z, Entity entity) {
|
||||||
|
entity.setFire(3);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public void randomDisplayTick(World world, int x, int y, int z, Random rand) {
|
||||||
|
super.randomDisplayTick(world, x, y, z, rand);
|
||||||
|
|
||||||
|
for(ForgeDirection dir : ForgeDirection.VALID_DIRECTIONS) {
|
||||||
|
|
||||||
|
if(dir == ForgeDirection.DOWN)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if(world.getBlock(x + dir.offsetX, y + dir.offsetY, z + dir.offsetZ).getMaterial() == Material.air) {
|
||||||
|
|
||||||
|
double ix = x + 0.5F + dir.offsetX + rand.nextDouble() - 0.5D;
|
||||||
|
double iy = y + 0.5F + dir.offsetY + rand.nextDouble() - 0.5D;
|
||||||
|
double iz = z + 0.5F + dir.offsetZ + rand.nextDouble() - 0.5D;
|
||||||
|
|
||||||
|
if(dir.offsetX != 0)
|
||||||
|
ix = x + 0.5F + dir.offsetX * 0.5 + rand.nextDouble() * 0.125 * dir.offsetX;
|
||||||
|
if(dir.offsetY != 0)
|
||||||
|
iy = y + 0.5F + dir.offsetY * 0.5 + rand.nextDouble() * 0.125 * dir.offsetY;
|
||||||
|
if(dir.offsetZ != 0)
|
||||||
|
iz = z + 0.5F + dir.offsetZ * 0.5 + rand.nextDouble() * 0.125 * dir.offsetZ;
|
||||||
|
|
||||||
|
world.spawnParticle("flame", ix, iy, iz, 0.0, 0.0, 0.0);
|
||||||
|
world.spawnParticle("smoke", ix, iy, iz, 0.0, 0.0, 0.0);
|
||||||
|
world.spawnParticle("smoke", ix, iy, iz, 0.0, 0.1, 0.0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -28,7 +28,7 @@ public class WorldConfig {
|
|||||||
public static int netherTungstenSpawn = 10;
|
public static int netherTungstenSpawn = 10;
|
||||||
public static int netherSulfurSpawn = 26;
|
public static int netherSulfurSpawn = 26;
|
||||||
public static int netherPhosphorusSpawn = 24;
|
public static int netherPhosphorusSpawn = 24;
|
||||||
public static int netherCoalSpawn = 24;
|
public static int netherCoalSpawn = 8;
|
||||||
public static int netherPlutoniumSpawn = 8;
|
public static int netherPlutoniumSpawn = 8;
|
||||||
|
|
||||||
public static int endTikiteSpawn = 8;
|
public static int endTikiteSpawn = 8;
|
||||||
@ -90,7 +90,7 @@ public class WorldConfig {
|
|||||||
netherTungstenSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N01_tungstenSpawnrate", "Amount of nether tungsten per chunk", 10);
|
netherTungstenSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N01_tungstenSpawnrate", "Amount of nether tungsten per chunk", 10);
|
||||||
netherSulfurSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N02_sulfurSpawnrate", "Amount of nether sulfur per chunk", 26);
|
netherSulfurSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N02_sulfurSpawnrate", "Amount of nether sulfur per chunk", 26);
|
||||||
netherPhosphorusSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N03_phosphorusSpawnrate", "Amount of nether phosphorus per chunk", 24);
|
netherPhosphorusSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N03_phosphorusSpawnrate", "Amount of nether phosphorus per chunk", 24);
|
||||||
netherCoalSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N04_coalSpawnrate", "Amount of nether coal per chunk", 24);
|
netherCoalSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N04_coalSpawnrate", "Amount of nether coal per chunk", 8);
|
||||||
netherPlutoniumSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N05_plutoniumSpawnrate", "Amount of nether plutonium per chunk, if enabled", 8);
|
netherPlutoniumSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.N05_plutoniumSpawnrate", "Amount of nether plutonium per chunk, if enabled", 8);
|
||||||
|
|
||||||
endTikiteSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.E00_tikiteSpawnrate", "Amount of end trixite per chunk", 8);
|
endTikiteSpawn = CommonConfig.createConfigInt(config, CATEGORY_OREGEN, "2.E00_tikiteSpawnrate", "Amount of end trixite per chunk", 8);
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import com.hbm.blocks.ModBlocks;
|
|||||||
import com.hbm.config.GeneralConfig;
|
import com.hbm.config.GeneralConfig;
|
||||||
import com.hbm.handler.FluidTypeHandler.FluidType;
|
import com.hbm.handler.FluidTypeHandler.FluidType;
|
||||||
import com.hbm.items.ModItems;
|
import com.hbm.items.ModItems;
|
||||||
|
import com.hbm.items.machine.ItemBattery;
|
||||||
|
|
||||||
import cpw.mods.fml.common.registry.GameRegistry;
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
@ -82,6 +83,10 @@ public class ArmorRecipes {
|
|||||||
GameRegistry.addRecipe(new ItemStack(ModItems.fau_plate, 1), new Object[] { "MCM", "PBP", "PSP", 'M', ModItems.motor_desh, 'C', ModItems.demon_core_closed, 'P', ModItems.plate_armor_fau, 'B', ModItems.starmetal_plate, 'S', ModBlocks.ancient_scrap });
|
GameRegistry.addRecipe(new ItemStack(ModItems.fau_plate, 1), new Object[] { "MCM", "PBP", "PSP", 'M', ModItems.motor_desh, 'C', ModItems.demon_core_closed, 'P', ModItems.plate_armor_fau, 'B', ModItems.starmetal_plate, 'S', ModBlocks.ancient_scrap });
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.fau_legs, 1), new Object[] { "MPM", "PBP", "PDP", 'M', ModItems.motor_desh, 'P', ModItems.plate_armor_fau, 'B', ModItems.starmetal_legs, 'D', ModItems.billet_polonium });
|
GameRegistry.addRecipe(new ItemStack(ModItems.fau_legs, 1), new Object[] { "MPM", "PBP", "PDP", 'M', ModItems.motor_desh, 'P', ModItems.plate_armor_fau, 'B', ModItems.starmetal_legs, 'D', ModItems.billet_polonium });
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.fau_boots, 1), new Object[] { "PDP", "PBP", 'P', ModItems.plate_armor_fau, 'D', ModItems.billet_polonium, 'B', ModItems.starmetal_boots });
|
GameRegistry.addRecipe(new ItemStack(ModItems.fau_boots, 1), new Object[] { "PDP", "PBP", 'P', ModItems.plate_armor_fau, 'D', ModItems.billet_polonium, 'B', ModItems.starmetal_boots });
|
||||||
|
GameRegistry.addRecipe(new ItemStack(ModItems.dns_helmet, 1), new Object[] { "PCP", "PBP", "PSP", 'P', ModItems.plate_armor_dnt, 'S', ModItems.ingot_chainsteel, 'B', ModItems.bj_helmet, 'C', ModItems.circuit_targeting_tier6 });
|
||||||
|
GameRegistry.addRecipe(new ItemStack(ModItems.dns_plate, 1), new Object[] { "PCP", "PBP", "PSP", 'P', ModItems.plate_armor_dnt, 'S', ModItems.ingot_chainsteel, 'B', ModItems.bj_plate_jetpack, 'C', ItemBattery.getEmptyBattery(ModItems.battery_spark_cell_25) });
|
||||||
|
GameRegistry.addRecipe(new ItemStack(ModItems.dns_legs, 1), new Object[] { "PCP", "PBP", "PSP", 'P', ModItems.plate_armor_dnt, 'S', ModItems.ingot_chainsteel, 'B', ModItems.bj_legs, 'C', ModItems.heart_fab });
|
||||||
|
GameRegistry.addRecipe(new ItemStack(ModItems.dns_boots, 1), new Object[] { "PCP", "PBP", "PSP", 'P', ModItems.plate_armor_dnt, 'S', ModItems.ingot_chainsteel, 'B', ModItems.bj_boots, 'C', ModItems.demon_core_closed });
|
||||||
|
|
||||||
//Euphemium armor
|
//Euphemium armor
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.plate_euphemium });
|
GameRegistry.addRecipe(new ItemStack(ModItems.euphemium_helmet, 1), new Object[] { "EEE", "E E", 'E', ModItems.plate_euphemium });
|
||||||
@ -121,7 +126,7 @@ public class ArmorRecipes {
|
|||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_boots, 1), new Object[] { "E E", "N N", 'E', ModItems.plate_paa, 'N', "plateDenseLead" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.paa_boots, 1), new Object[] { "E E", "N N", 'E', ModItems.plate_paa, 'N', "plateDenseLead" }));
|
||||||
|
|
||||||
//Liquidator Suit
|
//Liquidator Suit
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_helmet, 1), new Object[] { "III", "CBC", "IFI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_helmet_grey, 'F', ModItems.gas_mask_filter });
|
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_helmet, 1), new Object[] { "III", "CBC", "IFI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_helmet_grey, 'F', ModItems.gas_mask_filter_mono });
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_plate, 1), new Object[] { "ICI", "TBT", "ICI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_plate_grey, 'T', ModItems.gas_empty });
|
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_plate, 1), new Object[] { "ICI", "TBT", "ICI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_plate_grey, 'T', ModItems.gas_empty });
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_legs, 1), new Object[] { "III", "CBC", "I I", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_legs_grey });
|
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_legs, 1), new Object[] { "III", "CBC", "I I", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_legs_grey });
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_boots, 1), new Object[] { "ICI", "IBI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_boots_grey });
|
GameRegistry.addRecipe(new ItemStack(ModItems.liquidator_boots, 1), new Object[] { "ICI", "IBI", 'I', ModItems.plate_polymer, 'C', ModItems.cladding_lead, 'B', ModItems.hazmat_boots_grey });
|
||||||
@ -130,6 +135,7 @@ public class ArmorRecipes {
|
|||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.goggles, 1), new Object[] { "P P", "GPG", 'G', "paneGlass", 'P', "plateSteel" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.goggles, 1), new Object[] { "P P", "GPG", 'G', "paneGlass", 'P', "plateSteel" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask, 1), new Object[] { "PPP", "GPG", " F ", 'G', "paneGlass", 'P', "plateSteel", 'F', ModItems.gas_mask_filter }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask, 1), new Object[] { "PPP", "GPG", " F ", 'G', "paneGlass", 'P', "plateSteel", 'F', ModItems.gas_mask_filter }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask_m65, 1), new Object[] { "PPP", "GPG", " F ", 'G', "paneGlass", 'P', ModItems.plate_polymer, 'F', ModItems.gas_mask_filter }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask_m65, 1), new Object[] { "PPP", "GPG", " F ", 'G', "paneGlass", 'P', ModItems.plate_polymer, 'F', ModItems.gas_mask_filter }));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask_mono, 1), new Object[] { " P ", "PPP", " F ", 'P', ModItems.plate_polymer, 'F', ModItems.gas_mask_filter_mono }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mask_of_infamy, 1), new Object[] { "III", "III", " I ", 'I', "plateIron" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mask_of_infamy, 1), new Object[] { "III", "III", " I ", 'I', "plateIron" }));
|
||||||
|
|
||||||
//Capes
|
//Capes
|
||||||
|
|||||||
@ -151,6 +151,7 @@ public class ConsumableRecipes {
|
|||||||
|
|
||||||
//Helmet Mods
|
//Helmet Mods
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.attachment_mask, 1), new Object[] { "DID", "IGI", " F ", 'D', ModItems.ducttape, 'I', ModItems.plate_polymer, 'G', "paneGlass", 'F', ModItems.gas_mask_filter }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.attachment_mask, 1), new Object[] { "DID", "IGI", " F ", 'D', ModItems.ducttape, 'I', ModItems.plate_polymer, 'G', "paneGlass", 'F', ModItems.gas_mask_filter }));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.attachment_mask_mono, 1), new Object[] { "DID", "IGI", " F ", 'D', ModItems.ducttape, 'I', ModItems.plate_polymer, 'G', "paneGlass", 'F', ModItems.gas_mask_filter_mono }));
|
||||||
|
|
||||||
//Boot Mods
|
//Boot Mods
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pads_rubber, 1), new Object[] { "P P", "IDI", "P P", 'P', ModItems.plate_polymer, 'I', "plateIron", 'D', ModItems.ducttape }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.pads_rubber, 1), new Object[] { "P P", "IDI", "P P", 'P', ModItems.plate_polymer, 'I', "plateIron", 'D', ModItems.ducttape }));
|
||||||
|
|||||||
@ -116,8 +116,9 @@ public class ToolRecipes {
|
|||||||
GameRegistry.addRecipe(new ItemStack(ModItems.turret_chip, 1), new Object[] { "WWW", "CPC", "WWW", 'W', ModItems.wire_gold, 'P', ModItems.ingot_polymer, 'C', ModItems.circuit_gold, });
|
GameRegistry.addRecipe(new ItemStack(ModItems.turret_chip, 1), new Object[] { "WWW", "CPC", "WWW", 'W', ModItems.wire_gold, 'P', ModItems.ingot_polymer, 'C', ModItems.circuit_gold, });
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.turret_biometry, 1), new Object[] { "CC ", "GGS", "SSS", 'C', ModItems.circuit_copper, 'S', "plateSteel", 'G', "plateGold", 'I', "plateLead" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.turret_biometry, 1), new Object[] { "CC ", "GGS", "SSS", 'C', ModItems.circuit_copper, 'S', "plateSteel", 'G', "plateGold", 'I', "plateLead" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.survey_scanner, 1), new Object[] { "SWS", " G ", "PCP", 'W', ModItems.wire_gold, 'P', ModItems.ingot_polymer, 'C', ModItems.circuit_gold, 'S', "plateSteel", 'G', "ingotGold" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.survey_scanner, 1), new Object[] { "SWS", " G ", "PCP", 'W', ModItems.wire_gold, 'P', ModItems.ingot_polymer, 'C', ModItems.circuit_gold, 'S', "plateSteel", 'G', "ingotGold" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.geiger_counter, 1), new Object[] { "GPP", "WCS", "WBB", 'W', ModItems.wire_gold, 'P', ModItems.ingot_polymer, 'C', ModItems.circuit_copper, 'G', "ingotGold", 'S', "plateSteel", 'B', ModItems.ingot_beryllium }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.geiger_counter, 1), new Object[] { "GPP", "WCS", "WBB", 'W', ModItems.wire_gold, 'P', ModItems.plate_polymer, 'C', ModItems.circuit_aluminium, 'G', "ingotGold", 'S', "plateSteel", 'B', ModItems.ingot_beryllium }));
|
||||||
GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.geiger), new Object[] { ModItems.geiger_counter });
|
GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.geiger), new Object[] { ModItems.geiger_counter });
|
||||||
|
GameRegistry.addShapelessRecipe(new ItemStack(ModItems.digamma_diagnostic), new Object[] { ModItems.geiger_counter, ModItems.billet_polonium, ModItems.ingot_asbestos });
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mirror_tool), new Object[] { " A ", " IA", "I ", 'A', "ingotAluminum", 'I', "ingotIron" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.mirror_tool), new Object[] { " A ", " IA", "I ", 'A', "ingotAluminum", 'I', "ingotIron" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.defuser, 1), new Object[] { " PS", "P P", " P ", 'P', "ingotPolymer", 'S', "plateSteel" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.defuser, 1), new Object[] { " PS", "P P", " P ", 'P', "ingotPolymer", 'S', "plateSteel" }));
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,9 @@ public class HbmPlayerProps implements IExtendedEntityProperties {
|
|||||||
public static final String key = "NTM_EXT_PLAYER";
|
public static final String key = "NTM_EXT_PLAYER";
|
||||||
public EntityPlayer player;
|
public EntityPlayer player;
|
||||||
|
|
||||||
|
public boolean enableHUD = true;
|
||||||
|
public boolean enableBackpack = true;
|
||||||
|
|
||||||
private boolean[] keysPressed = new boolean[EnumKeybind.values().length];
|
private boolean[] keysPressed = new boolean[EnumKeybind.values().length];
|
||||||
|
|
||||||
public HbmPlayerProps(EntityPlayer player) {
|
public HbmPlayerProps(EntityPlayer player) {
|
||||||
|
|||||||
@ -36,6 +36,8 @@ public class FuelHandler implements IFuelHandler {
|
|||||||
return 3200;
|
return 3200;
|
||||||
if(fuel.getItem() == ModItems.book_guide)
|
if(fuel.getItem() == ModItems.book_guide)
|
||||||
return 800;
|
return 800;
|
||||||
|
if(fuel.getItem() == ModItems.coal_infernal)
|
||||||
|
return 4800;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,7 @@ package com.hbm.handler;
|
|||||||
public class HbmKeybinds {
|
public class HbmKeybinds {
|
||||||
|
|
||||||
public static enum EnumKeybind {
|
public static enum EnumKeybind {
|
||||||
JETPACK
|
JETPACK,
|
||||||
|
TOGGLE_HEAD
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -148,7 +148,7 @@ public class SILEXRecipeHandler extends TemplateRecipeHandler {
|
|||||||
guiGui = new LinkedList<Class<? extends GuiContainer>>();
|
guiGui = new LinkedList<Class<? extends GuiContainer>>();
|
||||||
|
|
||||||
transferRects.add(new RecipeTransferRect(new Rectangle(60, 34 - 11, 24, 18), "silex"));
|
transferRects.add(new RecipeTransferRect(new Rectangle(60, 34 - 11, 24, 18), "silex"));
|
||||||
transferRectsGui.add(new RecipeTransferRect(new Rectangle(72 - 5, 28 - 11, 30, 30), "silex"));
|
transferRectsGui.add(new RecipeTransferRect(new Rectangle(39, 60, 60, 50), "silex"));
|
||||||
guiGui.add(GUISILEX.class);
|
guiGui.add(GUISILEX.class);
|
||||||
RecipeTransferRectHandler.registerRectsToGuis(getRecipeTransferRectGuis(), transferRects);
|
RecipeTransferRectHandler.registerRectsToGuis(getRecipeTransferRectGuis(), transferRects);
|
||||||
RecipeTransferRectHandler.registerRectsToGuis(guiGui, transferRectsGui);
|
RecipeTransferRectHandler.registerRectsToGuis(guiGui, transferRectsGui);
|
||||||
|
|||||||
@ -290,7 +290,7 @@ public class AssemblerRecipes {
|
|||||||
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_furnace, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 4), new ComparableStack(ModItems.plate_advanced_alloy, 4), new OreDictStack("plateSteel", 8), new ComparableStack(ModItems.coil_advanced_alloy, 2), },100);
|
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_furnace, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 4), new ComparableStack(ModItems.plate_advanced_alloy, 4), new OreDictStack("plateSteel", 8), new ComparableStack(ModItems.coil_advanced_alloy, 2), },100);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_core, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 6), new ComparableStack(ModItems.plate_advanced_alloy, 6), new OreDictStack("plateSteel", 8), new ComparableStack(ModItems.coil_advanced_alloy, 2), new ComparableStack(ModItems.motor, 16), new ComparableStack(Blocks.piston, 6), },100);
|
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_core, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 6), new ComparableStack(ModItems.plate_advanced_alloy, 6), new OreDictStack("plateSteel", 8), new ComparableStack(ModItems.coil_advanced_alloy, 2), new ComparableStack(ModItems.motor, 16), new ComparableStack(Blocks.piston, 6), },100);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_conductor, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 8), new ComparableStack(ModItems.plate_advanced_alloy, 6), new ComparableStack(ModItems.wire_advanced_alloy, 4), new ComparableStack(ModItems.fuse, 6), },50);
|
makeRecipe(new ComparableStack(ModBlocks.factory_advanced_conductor, 1), new AStack[] {new ComparableStack(ModItems.ingot_advanced_alloy, 8), new ComparableStack(ModItems.plate_advanced_alloy, 6), new ComparableStack(ModItems.wire_advanced_alloy, 4), new ComparableStack(ModItems.fuse, 6), },50);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.reactor_element, 1), new AStack[] {new OreDictStack("ingotSteel", 2), new OreDictStack("plateDenseLead", 4), new OreDictStack("plateLead", 2), new ComparableStack(ModItems.rod_empty, 8), },150);
|
makeRecipe(new ComparableStack(ModBlocks.reactor_element, 1), new AStack[] {new OreDictStack("ingotSteel", 2), new OreDictStack("plateDenseLead", 4), new OreDictStack("plateLead", 2), new ComparableStack(ModItems.ingot_zirconium, 2), },150);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.reactor_control, 1), new AStack[] {new OreDictStack("ingotSteel", 4), new OreDictStack("ingotLead", 6), new ComparableStack(ModItems.bolt_tungsten, 6), new ComparableStack(ModItems.motor, 1), },100);
|
makeRecipe(new ComparableStack(ModBlocks.reactor_control, 1), new AStack[] {new OreDictStack("ingotSteel", 4), new OreDictStack("ingotLead", 6), new ComparableStack(ModItems.bolt_tungsten, 6), new ComparableStack(ModItems.motor, 1), },100);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.reactor_hatch, 1), new AStack[] {new ComparableStack(ModBlocks.brick_concrete, 1), new OreDictStack("plateSteel", 6), },150);
|
makeRecipe(new ComparableStack(ModBlocks.reactor_hatch, 1), new AStack[] {new ComparableStack(ModBlocks.brick_concrete, 1), new OreDictStack("plateSteel", 6), },150);
|
||||||
makeRecipe(new ComparableStack(ModBlocks.reactor_conductor, 1), new AStack[] {new OreDictStack("ingotSteel", 4), new OreDictStack("plateCopper", 12), new ComparableStack(ModItems.wire_tungsten, 4), },130);
|
makeRecipe(new ComparableStack(ModBlocks.reactor_conductor, 1), new AStack[] {new OreDictStack("ingotSteel", 4), new OreDictStack("plateCopper", 12), new ComparableStack(ModItems.wire_tungsten, 4), },130);
|
||||||
|
|||||||
@ -14,6 +14,7 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||||||
|
|
||||||
public class CyclotronRecipes {
|
public class CyclotronRecipes {
|
||||||
|
|
||||||
|
//i could have used classes for this, oh bother
|
||||||
private static HashMap<Object, ItemStack> lithium = new HashMap();
|
private static HashMap<Object, ItemStack> lithium = new HashMap();
|
||||||
private static HashMap<Object, ItemStack> beryllium = new HashMap();
|
private static HashMap<Object, ItemStack> beryllium = new HashMap();
|
||||||
private static HashMap<Object, ItemStack> carbon = new HashMap();
|
private static HashMap<Object, ItemStack> carbon = new HashMap();
|
||||||
@ -88,7 +89,7 @@ public class CyclotronRecipes {
|
|||||||
makeRecipe(plutonium, plAmat, "dustPhosphorus", new ItemStack(ModItems.powder_tennessine), plA);
|
makeRecipe(plutonium, plAmat, "dustPhosphorus", new ItemStack(ModItems.powder_tennessine), plA);
|
||||||
makeRecipe(plutonium, plAmat, "dustPlutonium", new ItemStack(ModItems.powder_tennessine), plA);
|
makeRecipe(plutonium, plAmat, "dustPlutonium", new ItemStack(ModItems.powder_tennessine), plA);
|
||||||
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.powder_tennessine), new ItemStack(ModItems.powder_reiium), plA);
|
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.powder_tennessine), new ItemStack(ModItems.powder_reiium), plA);
|
||||||
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.pellet_charged), new ItemStack(ModItems.nugget_schrabidium), 200);
|
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.pellet_charged), new ItemStack(ModItems.nugget_schrabidium), 1000);
|
||||||
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.powder_unobtainium), new ItemStack(ModItems.powder_daffergon), plA);
|
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.powder_unobtainium), new ItemStack(ModItems.powder_daffergon), plA);
|
||||||
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.cell_antimatter), new ItemStack(ModItems.cell_anti_schrabidium), 0);
|
makeRecipe(plutonium, plAmat, new ComparableStack(ModItems.cell_antimatter), new ItemStack(ModItems.cell_anti_schrabidium), 0);
|
||||||
/// PLUTONIUM END ///
|
/// PLUTONIUM END ///
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import com.hbm.inventory.HadronRecipes.HadronRecipe;
|
|
||||||
import com.hbm.inventory.RecipesCommon.ComparableStack;
|
import com.hbm.inventory.RecipesCommon.ComparableStack;
|
||||||
import com.hbm.items.ModItems;
|
import com.hbm.items.ModItems;
|
||||||
import com.hbm.util.WeightedRandomObject;
|
import com.hbm.util.WeightedRandomObject;
|
||||||
@ -21,11 +20,6 @@ public class SILEXRecipes {
|
|||||||
|
|
||||||
public static void register() {
|
public static void register() {
|
||||||
|
|
||||||
recipes.put("ingotSteel", new SILEXRecipe(100, 100)
|
|
||||||
.addOut(new WeightedRandomObject(new ItemStack(Items.iron_ingot), 1))
|
|
||||||
.addOut(new WeightedRandomObject(new ItemStack(Items.coal), 1))
|
|
||||||
);
|
|
||||||
|
|
||||||
recipes.put("ingotUranium", new SILEXRecipe(900, 100)
|
recipes.put("ingotUranium", new SILEXRecipe(900, 100)
|
||||||
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_u235), 1))
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_u235), 1))
|
||||||
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_u238), 8))
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_u238), 8))
|
||||||
@ -53,6 +47,12 @@ public class SILEXRecipes {
|
|||||||
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_uranium), 2))
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_uranium), 2))
|
||||||
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_plutonium), 2))
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.nugget_plutonium), 2))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
recipes.put(new ComparableStack(Items.dye, 1, 4), new SILEXRecipe(100, 100)
|
||||||
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.sulfur), 4))
|
||||||
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.powder_aluminium), 3))
|
||||||
|
.addOut(new WeightedRandomObject(new ItemStack(ModItems.powder_cobalt), 3))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static SILEXRecipe getOutput(ItemStack stack) {
|
public static SILEXRecipe getOutput(ItemStack stack) {
|
||||||
|
|||||||
@ -73,6 +73,7 @@ public class ModItems {
|
|||||||
public static Item lignite;
|
public static Item lignite;
|
||||||
public static Item powder_lignite;
|
public static Item powder_lignite;
|
||||||
public static Item briquette_lignite;
|
public static Item briquette_lignite;
|
||||||
|
public static Item coal_infernal;
|
||||||
|
|
||||||
public static Item niter;
|
public static Item niter;
|
||||||
public static Item ingot_copper;
|
public static Item ingot_copper;
|
||||||
@ -232,6 +233,7 @@ public class ModItems {
|
|||||||
public static Item plate_armor_hev;
|
public static Item plate_armor_hev;
|
||||||
public static Item plate_armor_lunar;
|
public static Item plate_armor_lunar;
|
||||||
public static Item plate_armor_fau;
|
public static Item plate_armor_fau;
|
||||||
|
public static Item plate_armor_dnt;
|
||||||
|
|
||||||
public static Item solid_fuel;
|
public static Item solid_fuel;
|
||||||
public static Item rocket_fuel;
|
public static Item rocket_fuel;
|
||||||
@ -1739,6 +1741,10 @@ public class ModItems {
|
|||||||
public static Item fau_plate;
|
public static Item fau_plate;
|
||||||
public static Item fau_legs;
|
public static Item fau_legs;
|
||||||
public static Item fau_boots;
|
public static Item fau_boots;
|
||||||
|
public static Item dns_helmet;
|
||||||
|
public static Item dns_plate;
|
||||||
|
public static Item dns_legs;
|
||||||
|
public static Item dns_boots;
|
||||||
public static Item zirconium_legs;
|
public static Item zirconium_legs;
|
||||||
|
|
||||||
public static Item australium_iii;
|
public static Item australium_iii;
|
||||||
@ -2354,6 +2360,7 @@ public class ModItems {
|
|||||||
plate_armor_hev = new Item().setUnlocalizedName("plate_armor_hev").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_hev");
|
plate_armor_hev = new Item().setUnlocalizedName("plate_armor_hev").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_hev");
|
||||||
plate_armor_lunar = new Item().setUnlocalizedName("plate_armor_lunar").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_lunar");
|
plate_armor_lunar = new Item().setUnlocalizedName("plate_armor_lunar").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_lunar");
|
||||||
plate_armor_fau = new Item().setUnlocalizedName("plate_armor_fau").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_fau");
|
plate_armor_fau = new Item().setUnlocalizedName("plate_armor_fau").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_fau");
|
||||||
|
plate_armor_dnt = new Item().setUnlocalizedName("plate_armor_dnt").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":plate_armor_dnt");
|
||||||
|
|
||||||
solid_fuel = new Item().setUnlocalizedName("solid_fuel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":solid_fuel");
|
solid_fuel = new Item().setUnlocalizedName("solid_fuel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":solid_fuel");
|
||||||
rocket_fuel = new Item().setUnlocalizedName("rocket_fuel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":rocket_fuel");
|
rocket_fuel = new Item().setUnlocalizedName("rocket_fuel").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":rocket_fuel");
|
||||||
@ -2361,6 +2368,7 @@ public class ModItems {
|
|||||||
lignite = new Item().setUnlocalizedName("lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":lignite");
|
lignite = new Item().setUnlocalizedName("lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":lignite");
|
||||||
briquette_lignite = new Item().setUnlocalizedName("briquette_lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":briquette_lignite");
|
briquette_lignite = new Item().setUnlocalizedName("briquette_lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":briquette_lignite");
|
||||||
powder_lignite = new Item().setUnlocalizedName("powder_lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":powder_lignite");
|
powder_lignite = new Item().setUnlocalizedName("powder_lignite").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":powder_lignite");
|
||||||
|
coal_infernal = new Item().setUnlocalizedName("coal_infernal").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":coal_infernal");
|
||||||
|
|
||||||
ingot_australium = new ItemCustomLore().setUnlocalizedName("ingot_australium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":ingot_australium");
|
ingot_australium = new ItemCustomLore().setUnlocalizedName("ingot_australium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":ingot_australium");
|
||||||
ingot_weidanium = new ItemCustomLore().setUnlocalizedName("ingot_weidanium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":ingot_weidanium");
|
ingot_weidanium = new ItemCustomLore().setUnlocalizedName("ingot_weidanium").setCreativeTab(MainRegistry.partsTab).setTextureName(RefStrings.MODID + ":ingot_weidanium");
|
||||||
@ -2746,43 +2754,43 @@ public class ModItems {
|
|||||||
crystal_xen = new ItemDrop().setUnlocalizedName("crystal_xen").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":crystal_xen");
|
crystal_xen = new ItemDrop().setUnlocalizedName("crystal_xen").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":crystal_xen");
|
||||||
inf_water = new Item().setUnlocalizedName("inf_water").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":inf_water");
|
inf_water = new Item().setUnlocalizedName("inf_water").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":inf_water");
|
||||||
|
|
||||||
stamp_stone_flat = new ItemStamp(5).setUnlocalizedName("stamp_stone_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_flat");
|
stamp_stone_flat = new ItemStamp(10).setUnlocalizedName("stamp_stone_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_flat");
|
||||||
stamp_stone_plate = new ItemStamp(5).setUnlocalizedName("stamp_stone_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_plate");
|
stamp_stone_plate = new ItemStamp(10).setUnlocalizedName("stamp_stone_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_plate");
|
||||||
stamp_stone_wire = new ItemStamp(5).setUnlocalizedName("stamp_stone_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_wire");
|
stamp_stone_wire = new ItemStamp(10).setUnlocalizedName("stamp_stone_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_wire");
|
||||||
stamp_stone_circuit = new ItemStamp(5).setUnlocalizedName("stamp_stone_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_circuit");
|
stamp_stone_circuit = new ItemStamp(10).setUnlocalizedName("stamp_stone_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_stone_circuit");
|
||||||
stamp_iron_flat = new ItemStamp(25).setUnlocalizedName("stamp_iron_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_flat");
|
stamp_iron_flat = new ItemStamp(50).setUnlocalizedName("stamp_iron_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_flat");
|
||||||
stamp_iron_plate = new ItemStamp(25).setUnlocalizedName("stamp_iron_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_plate");
|
stamp_iron_plate = new ItemStamp(50).setUnlocalizedName("stamp_iron_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_plate");
|
||||||
stamp_iron_wire = new ItemStamp(25).setUnlocalizedName("stamp_iron_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_wire");
|
stamp_iron_wire = new ItemStamp(50).setUnlocalizedName("stamp_iron_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_wire");
|
||||||
stamp_iron_circuit = new ItemStamp(25).setUnlocalizedName("stamp_iron_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_circuit");
|
stamp_iron_circuit = new ItemStamp(50).setUnlocalizedName("stamp_iron_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_iron_circuit");
|
||||||
stamp_steel_flat = new ItemStamp(50).setUnlocalizedName("stamp_steel_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_flat");
|
stamp_steel_flat = new ItemStamp(100).setUnlocalizedName("stamp_steel_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_flat");
|
||||||
stamp_steel_plate = new ItemStamp(50).setUnlocalizedName("stamp_steel_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_plate");
|
stamp_steel_plate = new ItemStamp(100).setUnlocalizedName("stamp_steel_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_plate");
|
||||||
stamp_steel_wire = new ItemStamp(50).setUnlocalizedName("stamp_steel_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_wire");
|
stamp_steel_wire = new ItemStamp(100).setUnlocalizedName("stamp_steel_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_wire");
|
||||||
stamp_steel_circuit = new ItemStamp(50).setUnlocalizedName("stamp_steel_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_circuit");
|
stamp_steel_circuit = new ItemStamp(100).setUnlocalizedName("stamp_steel_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_steel_circuit");
|
||||||
stamp_titanium_flat = new ItemStamp(65).setUnlocalizedName("stamp_titanium_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_flat");
|
stamp_titanium_flat = new ItemStamp(150).setUnlocalizedName("stamp_titanium_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_flat");
|
||||||
stamp_titanium_plate = new ItemStamp(65).setUnlocalizedName("stamp_titanium_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_plate");
|
stamp_titanium_plate = new ItemStamp(150).setUnlocalizedName("stamp_titanium_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_plate");
|
||||||
stamp_titanium_wire = new ItemStamp(65).setUnlocalizedName("stamp_titanium_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_wire");
|
stamp_titanium_wire = new ItemStamp(150).setUnlocalizedName("stamp_titanium_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_wire");
|
||||||
stamp_titanium_circuit = new ItemStamp(65).setUnlocalizedName("stamp_titanium_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_circuit");
|
stamp_titanium_circuit = new ItemStamp(150).setUnlocalizedName("stamp_titanium_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_titanium_circuit");
|
||||||
stamp_obsidian_flat = new ItemStamp(100).setUnlocalizedName("stamp_obsidian_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_flat");
|
stamp_obsidian_flat = new ItemStamp(170).setUnlocalizedName("stamp_obsidian_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_flat");
|
||||||
stamp_obsidian_plate = new ItemStamp(100).setUnlocalizedName("stamp_obsidian_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_plate");
|
stamp_obsidian_plate = new ItemStamp(170).setUnlocalizedName("stamp_obsidian_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_plate");
|
||||||
stamp_obsidian_wire = new ItemStamp(100).setUnlocalizedName("stamp_obsidian_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_wire");
|
stamp_obsidian_wire = new ItemStamp(170).setUnlocalizedName("stamp_obsidian_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_wire");
|
||||||
stamp_obsidian_circuit = new ItemStamp(100).setUnlocalizedName("stamp_obsidian_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_circuit");
|
stamp_obsidian_circuit = new ItemStamp(170).setUnlocalizedName("stamp_obsidian_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_obsidian_circuit");
|
||||||
stamp_schrabidium_flat = new ItemStamp(1024).setUnlocalizedName("stamp_schrabidium_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_flat");
|
stamp_schrabidium_flat = new ItemStamp(3000).setUnlocalizedName("stamp_schrabidium_flat").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_flat");
|
||||||
stamp_schrabidium_plate = new ItemStamp(1024).setUnlocalizedName("stamp_schrabidium_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_plate");
|
stamp_schrabidium_plate = new ItemStamp(3000).setUnlocalizedName("stamp_schrabidium_plate").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_plate");
|
||||||
stamp_schrabidium_wire = new ItemStamp(1024).setUnlocalizedName("stamp_schrabidium_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_wire");
|
stamp_schrabidium_wire = new ItemStamp(3000).setUnlocalizedName("stamp_schrabidium_wire").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_wire");
|
||||||
stamp_schrabidium_circuit = new ItemStamp(1024).setUnlocalizedName("stamp_schrabidium_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_circuit");
|
stamp_schrabidium_circuit = new ItemStamp(3000).setUnlocalizedName("stamp_schrabidium_circuit").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_schrabidium_circuit");
|
||||||
stamp_357 = new ItemBlades(512).setUnlocalizedName("stamp_357").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_357");
|
stamp_357 = new ItemBlades(1000).setUnlocalizedName("stamp_357").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_357");
|
||||||
stamp_44 = new ItemBlades(512).setUnlocalizedName("stamp_44").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_44");
|
stamp_44 = new ItemBlades(1000).setUnlocalizedName("stamp_44").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_44");
|
||||||
stamp_9 = new ItemBlades(512).setUnlocalizedName("stamp_9").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_9");
|
stamp_9 = new ItemBlades(1000).setUnlocalizedName("stamp_9").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_9");
|
||||||
stamp_50 = new ItemBlades(512).setUnlocalizedName("stamp_50").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_50");
|
stamp_50 = new ItemBlades(1000).setUnlocalizedName("stamp_50").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":stamp_50");
|
||||||
|
|
||||||
blades_aluminium = new ItemBlades(10).setUnlocalizedName("blades_aluminium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_aluminium");
|
blades_aluminium = new ItemBlades(20).setUnlocalizedName("blades_aluminium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_aluminium");
|
||||||
blades_gold = new ItemBlades(25).setUnlocalizedName("blades_gold").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_gold");
|
blades_gold = new ItemBlades(30).setUnlocalizedName("blades_gold").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_gold");
|
||||||
blades_iron = new ItemBlades(35).setUnlocalizedName("blades_iron").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_iron");
|
blades_iron = new ItemBlades(100).setUnlocalizedName("blades_iron").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_iron");
|
||||||
blades_steel = new ItemBlades(50).setUnlocalizedName("blades_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_steel");
|
blades_steel = new ItemBlades(200).setUnlocalizedName("blades_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_steel");
|
||||||
blades_titanium = new ItemBlades(65).setUnlocalizedName("blades_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_titanium");
|
blades_titanium = new ItemBlades(350).setUnlocalizedName("blades_titanium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_titanium");
|
||||||
blades_advanced_alloy = new ItemBlades(85).setUnlocalizedName("blades_advanced_alloy").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_advanced_alloy");
|
blades_advanced_alloy = new ItemBlades(700).setUnlocalizedName("blades_advanced_alloy").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_advanced_alloy");
|
||||||
blades_combine_steel = new ItemBlades(150).setUnlocalizedName("blades_combine_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_combine_steel");
|
blades_combine_steel = new ItemBlades(1500).setUnlocalizedName("blades_combine_steel").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_combine_steel");
|
||||||
blades_schrabidium = new ItemBlades(250).setUnlocalizedName("blades_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_schrabidium");
|
blades_schrabidium = new ItemBlades(2000).setUnlocalizedName("blades_schrabidium").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_schrabidium");
|
||||||
blades_desh = new ItemBlades(0).setUnlocalizedName("blades_desh").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_desh");
|
blades_desh = new ItemBlades(0).setUnlocalizedName("blades_desh").setMaxStackSize(1).setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":blades_desh");
|
||||||
|
|
||||||
part_lithium = new Item().setUnlocalizedName("part_lithium").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":part_lithium");
|
part_lithium = new Item().setUnlocalizedName("part_lithium").setCreativeTab(MainRegistry.controlTab).setTextureName(RefStrings.MODID + ":part_lithium");
|
||||||
@ -4134,6 +4142,23 @@ public class ModItems {
|
|||||||
fau_legs = new ArmorDigamma(aMatFau, 7, 2, RefStrings.MODID + ":textures/armor/starmetal_2.png", 10000000, 10000, 2500, 0).cloneStats((ArmorFSB) fau_helmet).setUnlocalizedName("fau_legs").setTextureName(RefStrings.MODID + ":fau_legs");
|
fau_legs = new ArmorDigamma(aMatFau, 7, 2, RefStrings.MODID + ":textures/armor/starmetal_2.png", 10000000, 10000, 2500, 0).cloneStats((ArmorFSB) fau_helmet).setUnlocalizedName("fau_legs").setTextureName(RefStrings.MODID + ":fau_legs");
|
||||||
fau_boots = new ArmorDigamma(aMatFau, 7, 3, RefStrings.MODID + ":textures/armor/starmetal_1.png", 10000000, 10000, 2500, 0).cloneStats((ArmorFSB) fau_helmet).setUnlocalizedName("fau_boots").setTextureName(RefStrings.MODID + ":fau_boots");
|
fau_boots = new ArmorDigamma(aMatFau, 7, 3, RefStrings.MODID + ":textures/armor/starmetal_1.png", 10000000, 10000, 2500, 0).cloneStats((ArmorFSB) fau_helmet).setUnlocalizedName("fau_boots").setTextureName(RefStrings.MODID + ":fau_boots");
|
||||||
|
|
||||||
|
ArmorMaterial aMatDNS = EnumHelper.addArmorMaterial("HBM_DNT_NANO", 150, new int[] { 3, 8, 6, 3 }, 100);
|
||||||
|
aMatDNS.customCraftingMaterial = ModItems.plate_armor_dnt;
|
||||||
|
dns_helmet = new ArmorDNT(aMatDNS, 7, 0, RefStrings.MODID + ":textures/armor/starmetal_1.png", 1000000000, 1000000, 100000, 115)
|
||||||
|
.addEffect(new PotionEffect(Potion.damageBoost.id, 20, 9))
|
||||||
|
.addEffect(new PotionEffect(Potion.digSpeed.id, 20, 7))
|
||||||
|
.setHasGeigerSound(true)
|
||||||
|
.enableVATS(true)
|
||||||
|
.enableThermalSight(true)
|
||||||
|
.setHasHardLanding(true)
|
||||||
|
.setStep("hbm:step.metal")
|
||||||
|
.setJump("hbm:step.iron_jump")
|
||||||
|
.setFall("hbm:step.iron_land")
|
||||||
|
.setFireproof(true).setUnlocalizedName("dns_helmet").setTextureName(RefStrings.MODID + ":dns_helmet");
|
||||||
|
dns_plate = new ArmorDNT(aMatDNS, 7, 1, RefStrings.MODID + ":textures/armor/starmetal_1.png", 1000000000, 1000000, 100000, 115).cloneStats((ArmorFSB) dns_helmet).setUnlocalizedName("dns_plate").setTextureName(RefStrings.MODID + ":dns_plate");
|
||||||
|
dns_legs = new ArmorDNT(aMatDNS, 7, 2, RefStrings.MODID + ":textures/armor/starmetal_2.png", 1000000000, 1000000, 100000, 115).cloneStats((ArmorFSB) dns_helmet).setUnlocalizedName("dns_legs").setTextureName(RefStrings.MODID + ":dns_legs");
|
||||||
|
dns_boots = new ArmorDNT(aMatDNS, 7, 3, RefStrings.MODID + ":textures/armor/starmetal_1.png", 1000000000, 1000000, 100000, 115).cloneStats((ArmorFSB) dns_helmet).setUnlocalizedName("dns_boots").setTextureName(RefStrings.MODID + ":dns_boots");
|
||||||
|
|
||||||
jackt = new ModArmor(MainRegistry.aMatSteel, 7, 1).setUnlocalizedName("jackt").setTextureName(RefStrings.MODID + ":jackt");
|
jackt = new ModArmor(MainRegistry.aMatSteel, 7, 1).setUnlocalizedName("jackt").setTextureName(RefStrings.MODID + ":jackt");
|
||||||
jackt2 = new ModArmor(MainRegistry.aMatSteel, 7, 1).setUnlocalizedName("jackt2").setTextureName(RefStrings.MODID + ":jackt2");
|
jackt2 = new ModArmor(MainRegistry.aMatSteel, 7, 1).setUnlocalizedName("jackt2").setTextureName(RefStrings.MODID + ":jackt2");
|
||||||
|
|
||||||
@ -4433,7 +4458,7 @@ public class ModItems {
|
|||||||
hazmat_paa_legs = new ArmorHazmat(MainRegistry.aMatPaa, 9, 2).setUnlocalizedName("hazmat_paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_legs");
|
hazmat_paa_legs = new ArmorHazmat(MainRegistry.aMatPaa, 9, 2).setUnlocalizedName("hazmat_paa_legs").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_legs");
|
||||||
hazmat_paa_boots = new ArmorHazmat(MainRegistry.aMatPaa, 9, 3).setUnlocalizedName("hazmat_paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_boots");
|
hazmat_paa_boots = new ArmorHazmat(MainRegistry.aMatPaa, 9, 3).setUnlocalizedName("hazmat_paa_boots").setMaxStackSize(1).setTextureName(RefStrings.MODID + ":hazmat_paa_boots");
|
||||||
|
|
||||||
ArmorMaterial aMatLiquidator = EnumHelper.addArmorMaterial("HBM_LIQUIDATOR", 10, new int[] { 3, 8, 6, 3 }, 10);
|
ArmorMaterial aMatLiquidator = EnumHelper.addArmorMaterial("HBM_LIQUIDATOR", 750, new int[] { 3, 8, 6, 3 }, 10);
|
||||||
aMatLiquidator.customCraftingMaterial = ModItems.plate_lead;
|
aMatLiquidator.customCraftingMaterial = ModItems.plate_lead;
|
||||||
liquidator_helmet = new ArmorLiquidator(aMatLiquidator, 9, 0, RefStrings.MODID + ":textures/armor/liquidator_helmet.png")
|
liquidator_helmet = new ArmorLiquidator(aMatLiquidator, 9, 0, RefStrings.MODID + ":textures/armor/liquidator_helmet.png")
|
||||||
.setThreshold(1.0F)
|
.setThreshold(1.0F)
|
||||||
@ -4784,6 +4809,7 @@ public class ModItems {
|
|||||||
GameRegistry.registerItem(bottle_mercury, bottle_mercury.getUnlocalizedName());
|
GameRegistry.registerItem(bottle_mercury, bottle_mercury.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(coke, coke.getUnlocalizedName());
|
GameRegistry.registerItem(coke, coke.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(lignite, lignite.getUnlocalizedName());
|
GameRegistry.registerItem(lignite, lignite.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(coal_infernal, coal_infernal.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(briquette_lignite, briquette_lignite.getUnlocalizedName());
|
GameRegistry.registerItem(briquette_lignite, briquette_lignite.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(sulfur, sulfur.getUnlocalizedName());
|
GameRegistry.registerItem(sulfur, sulfur.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(niter, niter.getUnlocalizedName());
|
GameRegistry.registerItem(niter, niter.getUnlocalizedName());
|
||||||
@ -4974,6 +5000,7 @@ public class ModItems {
|
|||||||
GameRegistry.registerItem(plate_armor_hev, plate_armor_hev.getUnlocalizedName());
|
GameRegistry.registerItem(plate_armor_hev, plate_armor_hev.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(plate_armor_lunar, plate_armor_lunar.getUnlocalizedName());
|
GameRegistry.registerItem(plate_armor_lunar, plate_armor_lunar.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(plate_armor_fau, plate_armor_fau.getUnlocalizedName());
|
GameRegistry.registerItem(plate_armor_fau, plate_armor_fau.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(plate_armor_dnt, plate_armor_dnt.getUnlocalizedName());
|
||||||
|
|
||||||
//Boards
|
//Boards
|
||||||
GameRegistry.registerItem(board_copper, board_copper.getUnlocalizedName());
|
GameRegistry.registerItem(board_copper, board_copper.getUnlocalizedName());
|
||||||
@ -6625,6 +6652,10 @@ public class ModItems {
|
|||||||
GameRegistry.registerItem(fau_plate, fau_plate.getUnlocalizedName());
|
GameRegistry.registerItem(fau_plate, fau_plate.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(fau_legs, fau_legs.getUnlocalizedName());
|
GameRegistry.registerItem(fau_legs, fau_legs.getUnlocalizedName());
|
||||||
GameRegistry.registerItem(fau_boots, fau_boots.getUnlocalizedName());
|
GameRegistry.registerItem(fau_boots, fau_boots.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(dns_helmet, dns_helmet.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(dns_plate, dns_plate.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(dns_legs, dns_legs.getUnlocalizedName());
|
||||||
|
GameRegistry.registerItem(dns_boots, dns_boots.getUnlocalizedName());
|
||||||
|
|
||||||
//Nobody will ever read this anyway, so it shouldn't matter.
|
//Nobody will ever read this anyway, so it shouldn't matter.
|
||||||
GameRegistry.registerItem(chainsaw, chainsaw.getUnlocalizedName());
|
GameRegistry.registerItem(chainsaw, chainsaw.getUnlocalizedName());
|
||||||
|
|||||||
204
src/main/java/com/hbm/items/armor/ArmorDNT.java
Normal file
@ -0,0 +1,204 @@
|
|||||||
|
package com.hbm.items.armor;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
import com.google.common.collect.Multimap;
|
||||||
|
import com.hbm.extprop.HbmPlayerProps;
|
||||||
|
import com.hbm.handler.HbmKeybinds.EnumKeybind;
|
||||||
|
import com.hbm.items.ModItems;
|
||||||
|
import com.hbm.lib.Library;
|
||||||
|
import com.hbm.main.MainRegistry;
|
||||||
|
import com.hbm.packet.AuxParticlePacketNT;
|
||||||
|
import com.hbm.packet.KeybindPacket;
|
||||||
|
import com.hbm.packet.PacketDispatcher;
|
||||||
|
import com.hbm.render.model.ModelArmorDNT;
|
||||||
|
import com.hbm.util.I18nUtil;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
|
||||||
|
import cpw.mods.fml.relauncher.Side;
|
||||||
|
import cpw.mods.fml.relauncher.SideOnly;
|
||||||
|
import net.minecraft.client.model.ModelBiped;
|
||||||
|
import net.minecraft.client.resources.I18n;
|
||||||
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
|
import net.minecraft.entity.SharedMonsterAttributes;
|
||||||
|
import net.minecraft.entity.ai.attributes.AttributeModifier;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
import net.minecraft.potion.Potion;
|
||||||
|
import net.minecraft.potion.PotionEffect;
|
||||||
|
import net.minecraft.util.EnumChatFormatting;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.event.entity.living.LivingAttackEvent;
|
||||||
|
import net.minecraftforge.event.entity.living.LivingHurtEvent;
|
||||||
|
|
||||||
|
public class ArmorDNT extends ArmorFSBPowered {
|
||||||
|
|
||||||
|
public ArmorDNT(ArmorMaterial material, int layer, int slot, String texture, long maxPower, long chargeRate, long consumption, long drain) {
|
||||||
|
super(material, layer, slot, texture, maxPower, chargeRate, consumption, drain);
|
||||||
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
ModelArmorDNT[] models;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public ModelBiped getArmorModel(EntityLivingBase entityLiving, ItemStack itemStack, int armorSlot) {
|
||||||
|
|
||||||
|
if(models == null) {
|
||||||
|
models = new ModelArmorDNT[4];
|
||||||
|
|
||||||
|
for(int i = 0; i < 4; i++)
|
||||||
|
models[i] = new ModelArmorDNT(i);
|
||||||
|
}
|
||||||
|
|
||||||
|
return models[armorSlot];
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final UUID speed = UUID.fromString("6ab858ba-d712-485c-bae9-e5e765fc555a");
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onArmorTick(World world, EntityPlayer player, ItemStack stack) {
|
||||||
|
|
||||||
|
super.onArmorTick(world, player, stack);
|
||||||
|
|
||||||
|
if(this != ModItems.dns_plate)
|
||||||
|
return;
|
||||||
|
|
||||||
|
HbmPlayerProps props = HbmPlayerProps.getData(player);
|
||||||
|
|
||||||
|
/// SPEED ///
|
||||||
|
Multimap multimap = super.getItemAttributeModifiers();
|
||||||
|
multimap.put(SharedMonsterAttributes.movementSpeed.getAttributeUnlocalizedName(), new AttributeModifier(speed, "DNT SPEED", 0.25, 0));
|
||||||
|
player.getAttributeMap().removeAttributeModifiers(multimap);
|
||||||
|
|
||||||
|
if(player.isSprinting()) {
|
||||||
|
player.getAttributeMap().applyAttributeModifiers(multimap);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(world.isRemote) {
|
||||||
|
|
||||||
|
if(player == MainRegistry.proxy.me()) {
|
||||||
|
|
||||||
|
boolean last = props.getKeyPressed(EnumKeybind.JETPACK);
|
||||||
|
boolean current = MainRegistry.proxy.getIsKeyPressed(EnumKeybind.JETPACK);
|
||||||
|
|
||||||
|
if(last != current) {
|
||||||
|
PacketDispatcher.wrapper.sendToServer(new KeybindPacket(EnumKeybind.JETPACK, current));
|
||||||
|
props.setKeyPressed(EnumKeybind.JETPACK, current);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
/// JET ///
|
||||||
|
if(this.hasFSBArmor(player) && props.getKeyPressed(EnumKeybind.JETPACK) || (!player.onGround && !player.isSneaking())) {
|
||||||
|
|
||||||
|
NBTTagCompound data = new NBTTagCompound();
|
||||||
|
data.setString("type", "jetpack_dns");
|
||||||
|
data.setInteger("player", player.getEntityId());
|
||||||
|
PacketDispatcher.wrapper.sendToAllAround(new AuxParticlePacketNT(data, player.posX, player.posY, player.posZ), new TargetPoint(world.provider.dimensionId, player.posX, player.posY, player.posZ, 100));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.hasFSBArmor(player)) {
|
||||||
|
|
||||||
|
if(props.getKeyPressed(EnumKeybind.JETPACK)) {
|
||||||
|
|
||||||
|
if(player.motionY < 0.6D)
|
||||||
|
player.motionY += 0.2D;
|
||||||
|
|
||||||
|
player.fallDistance = 0;
|
||||||
|
|
||||||
|
world.playSoundEffect(player.posX, player.posY, player.posZ, "hbm:weapon.immolatorShoot", 0.125F, 1.5F);
|
||||||
|
|
||||||
|
} else if(!player.isSneaking() && !player.onGround) {
|
||||||
|
player.fallDistance = 0;
|
||||||
|
|
||||||
|
if(player.motionY < -1)
|
||||||
|
player.motionY += 0.4D;
|
||||||
|
else if(player.motionY < -0.1)
|
||||||
|
player.motionY += 0.2D;
|
||||||
|
else if(player.motionY < 0)
|
||||||
|
player.motionY = 0;
|
||||||
|
|
||||||
|
player.motionX *= 1.05D;
|
||||||
|
player.motionZ *= 1.05D;
|
||||||
|
|
||||||
|
world.playSoundEffect(player.posX, player.posY, player.posZ, "hbm:weapon.immolatorShoot", 0.125F, 1.5F);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(player.isSneaking() && !player.onGround) {
|
||||||
|
player.motionY -= 0.1D;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleAttack(LivingAttackEvent event) {
|
||||||
|
|
||||||
|
EntityLivingBase e = event.entityLiving;
|
||||||
|
|
||||||
|
if(e instanceof EntityPlayer) {
|
||||||
|
EntityPlayer player = (EntityPlayer) e;
|
||||||
|
|
||||||
|
if(ArmorFSB.hasFSBArmor(player)) {
|
||||||
|
|
||||||
|
if(event.source.isExplosion()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
e.worldObj.playSoundAtEntity(e, "random.break", 5F, 1.0F + e.getRNG().nextFloat() * 0.5F);
|
||||||
|
event.setCanceled(true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleHurt(LivingHurtEvent event) {
|
||||||
|
|
||||||
|
EntityLivingBase e = event.entityLiving;
|
||||||
|
|
||||||
|
if(e instanceof EntityPlayer) {
|
||||||
|
EntityPlayer player = (EntityPlayer) e;
|
||||||
|
|
||||||
|
if(ArmorFSB.hasFSBArmor(player)) {
|
||||||
|
|
||||||
|
if(event.source.isExplosion()) {
|
||||||
|
event.ammount *= 0.001F;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
event.ammount = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean bool) {
|
||||||
|
|
||||||
|
list.add("Charge: " + Library.getShortNumber(getCharge(stack)) + " / " + Library.getShortNumber(maxPower));
|
||||||
|
|
||||||
|
list.add(EnumChatFormatting.GOLD + I18nUtil.resolveKey("armor.fullSetBonus"));
|
||||||
|
|
||||||
|
if(!effects.isEmpty()) {
|
||||||
|
|
||||||
|
for(PotionEffect effect : effects) {
|
||||||
|
list.add(EnumChatFormatting.AQUA + " " + I18n.format(Potion.potionTypes[effect.getPotionID()].getName()));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
list.add(EnumChatFormatting.YELLOW + " " + I18nUtil.resolveKey("armor.explosionImmune"));
|
||||||
|
list.add(EnumChatFormatting.YELLOW + " " + I18nUtil.resolveKey("armor.cap", 5));
|
||||||
|
list.add(EnumChatFormatting.YELLOW + " " + I18nUtil.resolveKey("armor.modifier", 0.001F));
|
||||||
|
list.add(EnumChatFormatting.RED + " " + I18nUtil.resolveKey("armor.vats"));
|
||||||
|
list.add(EnumChatFormatting.RED + " " + I18nUtil.resolveKey("armor.thermal"));
|
||||||
|
list.add(EnumChatFormatting.RED + " " + I18nUtil.resolveKey("armor.hardLanding"));
|
||||||
|
list.add(EnumChatFormatting.DARK_RED + " " + I18nUtil.resolveKey("armor.ignoreLimit"));
|
||||||
|
list.add(EnumChatFormatting.AQUA + " " + I18nUtil.resolveKey("armor.rocketBoots"));
|
||||||
|
list.add(EnumChatFormatting.AQUA + " " + I18nUtil.resolveKey("armor.fastFall"));
|
||||||
|
list.add(EnumChatFormatting.AQUA + " " + I18nUtil.resolveKey("armor.sprintBoost"));
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -311,7 +311,7 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleAttack(LivingAttackEvent event) {
|
public void handleAttack(LivingAttackEvent event) {
|
||||||
|
|
||||||
EntityLivingBase e = event.entityLiving;
|
EntityLivingBase e = event.entityLiving;
|
||||||
|
|
||||||
@ -333,15 +333,14 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(chestplate.resistance.get(event.source.getDamageType()) != null &&
|
if(chestplate.resistance.get(event.source.getDamageType()) != null && chestplate.resistance.get(event.source.getDamageType()) <= 0) {
|
||||||
chestplate.resistance.get(event.source.getDamageType()) <= 0) {
|
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleHurt(LivingHurtEvent event) {
|
public void handleHurt(LivingHurtEvent event) {
|
||||||
|
|
||||||
EntityLivingBase e = event.entityLiving;
|
EntityLivingBase e = event.entityLiving;
|
||||||
|
|
||||||
@ -377,7 +376,7 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleTick(TickEvent.PlayerTickEvent event) {
|
public void handleTick(TickEvent.PlayerTickEvent event) {
|
||||||
|
|
||||||
EntityPlayer player = event.player;
|
EntityPlayer player = event.player;
|
||||||
|
|
||||||
@ -417,12 +416,13 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
|
|
||||||
player.getEntityData().setFloat("hfr_nextStepDistance", nextStepDistance.getFloat(player));
|
player.getEntityData().setFloat("hfr_nextStepDistance", nextStepDistance.getFloat(player));
|
||||||
|
|
||||||
} catch (Exception x) { }
|
} catch(Exception x) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleJump(EntityPlayer player) {
|
public void handleJump(EntityPlayer player) {
|
||||||
|
|
||||||
if(ArmorFSB.hasFSBArmor(player)) {
|
if(ArmorFSB.hasFSBArmor(player)) {
|
||||||
|
|
||||||
@ -433,7 +433,7 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void handleFall(EntityPlayer player) {
|
public void handleFall(EntityPlayer player) {
|
||||||
|
|
||||||
if(ArmorFSB.hasFSBArmor(player)) {
|
if(ArmorFSB.hasFSBArmor(player)) {
|
||||||
|
|
||||||
@ -441,7 +441,8 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
|
|
||||||
if(chestplate.hardLanding && player.fallDistance > 10) {
|
if(chestplate.hardLanding && player.fallDistance > 10) {
|
||||||
|
|
||||||
//player.playSound(Block.soundTypeAnvil.func_150496_b(), 2.0F, 0.5F);
|
// player.playSound(Block.soundTypeAnvil.func_150496_b(), 2.0F,
|
||||||
|
// 0.5F);
|
||||||
|
|
||||||
List<Entity> entities = player.worldObj.getEntitiesWithinAABBExcludingEntity(player, player.boundingBox.expand(3, 0, 3));
|
List<Entity> entities = player.worldObj.getEntitiesWithinAABBExcludingEntity(player, player.boundingBox.expand(3, 0, 3));
|
||||||
|
|
||||||
@ -522,7 +523,8 @@ public class ArmorFSB extends ItemArmor {
|
|||||||
|
|
||||||
// For crazier stuff not possible without hooking the event
|
// For crazier stuff not possible without hooking the event
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void handleOverlay(RenderGameOverlayEvent.Pre event, EntityPlayer player) { }
|
public void handleOverlay(RenderGameOverlayEvent.Pre event, EntityPlayer player) {
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isArmorEnabled(ItemStack stack) {
|
public boolean isArmorEnabled(ItemStack stack) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -123,15 +123,7 @@ public class ArmorModel extends ItemArmor {
|
|||||||
return this.modelGas;
|
return this.modelGas;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this == ModItems.gas_mask_mono) {
|
if (this == ModItems.gas_mask_m65 || this == ModItems.hazmat_helmet_red || this == ModItems.hazmat_helmet_grey || this == ModItems.gas_mask_mono) {
|
||||||
if (armorSlot == 0) {
|
|
||||||
if (this.modelGas == null) {
|
|
||||||
this.modelGas = new ModelGasMask();
|
|
||||||
}
|
|
||||||
return this.modelGas;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (this == ModItems.gas_mask_m65 || this == ModItems.hazmat_helmet_red || this == ModItems.hazmat_helmet_grey) {
|
|
||||||
if (armorSlot == 0) {
|
if (armorSlot == 0) {
|
||||||
if (this.modelM65 == null) {
|
if (this.modelM65 == null) {
|
||||||
this.modelM65 = new ModelM65();
|
this.modelM65 = new ModelM65();
|
||||||
@ -208,7 +200,7 @@ public class ArmorModel extends ItemArmor {
|
|||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderHelmetOverlay(ItemStack stack, EntityPlayer player, ScaledResolution resolution, float partialTicks, boolean hasScreen, int mouseX, int mouseY){
|
public void renderHelmetOverlay(ItemStack stack, EntityPlayer player, ScaledResolution resolution, float partialTicks, boolean hasScreen, int mouseX, int mouseY){
|
||||||
|
|
||||||
if(this != ModItems.goggles && this != ModItems.gas_mask && this != ModItems.gas_mask_m65 && this != ModItems.gas_mask_mono && this != ModItems.hazmat_helmet_red && this != ModItems.hazmat_helmet_grey)
|
if(this != ModItems.goggles && this != ModItems.gas_mask && this != ModItems.gas_mask_m65 && this != ModItems.hazmat_helmet_red && this != ModItems.hazmat_helmet_grey)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
GL11.glDisable(GL11.GL_DEPTH_TEST);
|
GL11.glDisable(GL11.GL_DEPTH_TEST);
|
||||||
@ -217,7 +209,7 @@ public class ArmorModel extends ItemArmor {
|
|||||||
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
|
||||||
GL11.glDisable(GL11.GL_ALPHA_TEST);
|
GL11.glDisable(GL11.GL_ALPHA_TEST);
|
||||||
|
|
||||||
if(this == ModItems.goggles || this == ModItems.gas_mask_m65 || this == ModItems.gas_mask_mono || this == ModItems.hazmat_helmet_red || this == ModItems.hazmat_helmet_grey) {
|
if(this == ModItems.goggles || this == ModItems.gas_mask_m65 || this == ModItems.hazmat_helmet_red || this == ModItems.hazmat_helmet_grey) {
|
||||||
switch((int)((double)stack.getItemDamage() / (double)stack.getMaxDamage() * 6D)) {
|
switch((int)((double)stack.getItemDamage() / (double)stack.getMaxDamage() * 6D)) {
|
||||||
case 0:
|
case 0:
|
||||||
Minecraft.getMinecraft().getTextureManager().bindTexture(goggleBlur0); break;
|
Minecraft.getMinecraft().getTextureManager().bindTexture(goggleBlur0); break;
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import com.hbm.modules.ItemHazardModule;
|
|||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
@ -40,4 +41,15 @@ public class ItemBlockHazard extends ItemBlock {
|
|||||||
if(this.module != null)
|
if(this.module != null)
|
||||||
this.module.addInformation(stack, player, list, bool);
|
this.module.addInformation(stack, player, list, bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onEntityItemUpdate(EntityItem item) {
|
||||||
|
|
||||||
|
super.onEntityItemUpdate(item);
|
||||||
|
|
||||||
|
if(this.module != null)
|
||||||
|
return this.module.onEntityItemUpdate(item);
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@ import com.hbm.modules.ItemHazardModule;
|
|||||||
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
@ -88,6 +89,13 @@ public class ItemHazard extends ItemCustomLore implements IItemHazard {
|
|||||||
this.module.addInformation(stack, player, list, bool);
|
this.module.addInformation(stack, player, list, bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean onEntityItemUpdate(EntityItem item) {
|
||||||
|
|
||||||
|
super.onEntityItemUpdate(item);
|
||||||
|
return this.module.onEntityItemUpdate(item);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DEPRECATED CTORS
|
* DEPRECATED CTORS
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -5,6 +5,7 @@ import java.util.Random;
|
|||||||
|
|
||||||
import com.hbm.config.VersatileConfig;
|
import com.hbm.config.VersatileConfig;
|
||||||
import com.hbm.handler.ArmorModHandler;
|
import com.hbm.handler.ArmorModHandler;
|
||||||
|
import com.hbm.handler.FluidTypeHandler.FluidType;
|
||||||
import com.hbm.interfaces.IPartiallyFillable;
|
import com.hbm.interfaces.IPartiallyFillable;
|
||||||
import com.hbm.items.ModItems;
|
import com.hbm.items.ModItems;
|
||||||
import com.hbm.items.weapon.ItemGunBase;
|
import com.hbm.items.weapon.ItemGunBase;
|
||||||
@ -291,6 +292,10 @@ public class ItemSyringe extends Item {
|
|||||||
return stack;
|
return stack;
|
||||||
|
|
||||||
IPartiallyFillable fillable = (IPartiallyFillable) jetpack.getItem();
|
IPartiallyFillable fillable = (IPartiallyFillable) jetpack.getItem();
|
||||||
|
|
||||||
|
if(fillable.getType(jetpack) != FluidType.KEROSENE)
|
||||||
|
return stack;
|
||||||
|
|
||||||
int fill = Math.min(fillable.getFill(jetpack) + 1000, fillable.getMaxFill(jetpack));
|
int fill = Math.min(fillable.getFill(jetpack) + 1000, fillable.getMaxFill(jetpack));
|
||||||
fillable.setFill(jetpack, fill);
|
fillable.setFill(jetpack, fill);
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@ package com.hbm.lib;
|
|||||||
public class RefStrings {
|
public class RefStrings {
|
||||||
public static final String MODID = "hbm";
|
public static final String MODID = "hbm";
|
||||||
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
public static final String NAME = "Hbm's Nuclear Tech Mod";
|
||||||
public static final String VERSION = "1.0.27 BETA (3822)";
|
public static final String VERSION = "1.0.27 BETA (3826)";
|
||||||
//HBM's Beta Naming Convention:
|
//HBM's Beta Naming Convention:
|
||||||
//V T (X)
|
//V T (X)
|
||||||
//V -> next release version
|
//V -> next release version
|
||||||
|
|||||||
@ -1020,6 +1020,53 @@ public class ClientProxy extends ServerProxy {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if("jetpack_dns".equals(type)) {
|
||||||
|
|
||||||
|
Entity ent = world.getEntityByID(data.getInteger("player"));
|
||||||
|
|
||||||
|
if(ent instanceof EntityPlayer) {
|
||||||
|
|
||||||
|
EntityPlayer p = (EntityPlayer)ent;
|
||||||
|
|
||||||
|
Vec3 offset = Vec3.createVectorHelper(0.125, 0, 0);
|
||||||
|
float angle = (float) -Math.toRadians(p.rotationYawHead - (p.rotationYawHead - p.renderYawOffset));
|
||||||
|
|
||||||
|
offset.rotateAroundY(angle);
|
||||||
|
|
||||||
|
double ix = p.posX;
|
||||||
|
double iy = p.posY - p.getYOffset() - 0.5D;
|
||||||
|
double iz = p.posZ;
|
||||||
|
double ox = offset.xCoord;
|
||||||
|
double oz = offset.zCoord;
|
||||||
|
|
||||||
|
Vec3 pos = Vec3.createVectorHelper(ix, iy, iz);
|
||||||
|
Vec3 thrust = Vec3.createVectorHelper(0, -1, 0);
|
||||||
|
Vec3 target = pos.addVector(thrust.xCoord * 10, thrust.yCoord * 10, thrust.zCoord * 10);
|
||||||
|
MovingObjectPosition mop = player.worldObj.func_147447_a(pos, target, false, false, true);
|
||||||
|
|
||||||
|
if(mop != null && mop.typeOfHit == MovingObjectType.BLOCK && mop.sideHit == 1) {
|
||||||
|
|
||||||
|
Block b = world.getBlock(mop.blockX, mop.blockY, mop.blockZ);
|
||||||
|
int meta = world.getBlockMetadata(mop.blockX, mop.blockY, mop.blockZ);
|
||||||
|
|
||||||
|
Vec3 delta = Vec3.createVectorHelper(ix - mop.hitVec.xCoord, iy - mop.hitVec.yCoord, iz - mop.hitVec.zCoord);
|
||||||
|
Vec3 vel = Vec3.createVectorHelper(0.75 - delta.lengthVector() * 0.075, 0, 0);
|
||||||
|
|
||||||
|
for(int i = 0; i < (10 - delta.lengthVector()); i++) {
|
||||||
|
vel.rotateAroundY(world.rand.nextFloat() * (float)Math.PI * 2F);
|
||||||
|
Minecraft.getMinecraft().effectRenderer.addEffect(new EntityBlockDustFX(world, mop.hitVec.xCoord, mop.hitVec.yCoord + 0.1, mop.hitVec.zCoord, vel.xCoord, 0.1, vel.zCoord, b, meta));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
EntityReddustFX dust1 = new EntityReddustFX(world, ix + ox, iy, iz + oz, 0.01F, 1.0F, 1.0F);
|
||||||
|
EntityReddustFX dust2 = new EntityReddustFX(world, ix - ox, iy, iz - oz, 0.01F, 1.0F, 1.0F);
|
||||||
|
dust1.setVelocity(p.motionX, p.motionY, p.motionZ);
|
||||||
|
dust2.setVelocity(p.motionX, p.motionY, p.motionZ);
|
||||||
|
Minecraft.getMinecraft().effectRenderer.addEffect(dust1);
|
||||||
|
Minecraft.getMinecraft().effectRenderer.addEffect(dust2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if("muke".equals(type)) {
|
if("muke".equals(type)) {
|
||||||
|
|
||||||
ParticleMukeWave wave = new ParticleMukeWave(man, world, x, y, z);
|
ParticleMukeWave wave = new ParticleMukeWave(man, world, x, y, z);
|
||||||
|
|||||||
@ -463,6 +463,7 @@ public class CraftingManager {
|
|||||||
|
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_waste, 1), new Object[] { "PTP", "PTP", "PTP", 'T', ModItems.tank_steel, 'P', "plateSteel" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.tank_waste, 1), new Object[] { "PTP", "PTP", "PTP", 'T', ModItems.tank_steel, 'P', "plateSteel" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask_filter, 1), new Object[] { "F", "I", "F", 'F', ModItems.filter_coal, 'I', "plateIron" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gas_mask_filter, 1), new Object[] { "F", "I", "F", 'F', ModItems.filter_coal, 'I', "plateIron" }));
|
||||||
|
GameRegistry.addRecipe(new ItemStack(ModItems.gas_mask_filter_mono, 1), new Object[] { "ZZZ", "ZCZ", "ZZZ", 'Z', ModItems.nugget_zirconium, 'C', ModItems.catalyst_clay });
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jetpack_tank, 1), new Object[] { " S ", "BKB", " S ", 'S', "plateSteel", 'B', ModItems.bolt_tungsten, 'K', ModItems.canister_kerosene }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.jetpack_tank, 1), new Object[] { " S ", "BKB", " S ", 'S', "plateSteel", 'B', ModItems.bolt_tungsten, 'K', ModItems.canister_kerosene }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_kit_1, 4), new Object[] { "I ", "LB", "P ", 'I', ModItems.plate_polymer, 'L', ModItems.canister_canola, 'B', ModItems.bolt_tungsten, 'P', "plateIron" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_kit_1, 4), new Object[] { "I ", "LB", "P ", 'I', ModItems.plate_polymer, 'L', ModItems.canister_canola, 'B', ModItems.bolt_tungsten, 'P', "plateIron" }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_kit_2, 1), new Object[] { "III", "GLG", "PPP", 'I', ModItems.plate_polymer, 'L', ModItems.ducttape, 'G', ModItems.gun_kit_1, 'P', "plateIron" }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.gun_kit_2, 1), new Object[] { "III", "GLG", "PPP", 'I', ModItems.plate_polymer, 'L', ModItems.ducttape, 'G', ModItems.gun_kit_1, 'P', "plateIron" }));
|
||||||
@ -684,6 +685,7 @@ public class CraftingManager {
|
|||||||
GameRegistry.addRecipe(new ItemStack(ModItems.plate_armor_hev, 1), new Object[] { "NPN", "PIP", "NPN", 'N', ModItems.wire_tungsten, 'P', ModItems.plate_advanced_alloy, 'I', ModItems.plate_armor_titanium });
|
GameRegistry.addRecipe(new ItemStack(ModItems.plate_armor_hev, 1), new Object[] { "NPN", "PIP", "NPN", 'N', ModItems.wire_tungsten, 'P', ModItems.plate_advanced_alloy, 'I', ModItems.plate_armor_titanium });
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_armor_lunar, 1), new Object[] { "NPN", "PIP", "NPN", 'N', ModItems.wire_magnetized_tungsten, 'P', "plateDenseLead", 'I', ModItems.ingot_starmetal }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_armor_lunar, 1), new Object[] { "NPN", "PIP", "NPN", 'N', ModItems.wire_magnetized_tungsten, 'P', "plateDenseLead", 'I', ModItems.ingot_starmetal }));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_armor_fau, 1), new Object[] { "MDM", "DYD", "MDM", 'M', ModItems.ingot_meteorite_forged, 'D', "ingotDesh", 'Y', ModItems.billet_yharonite }));
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_armor_fau, 1), new Object[] { "MDM", "DYD", "MDM", 'M', ModItems.ingot_meteorite_forged, 'D', "ingotDesh", 'Y', ModItems.billet_yharonite }));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.plate_armor_dnt, 1), new Object[] { "FDF", "DSD", "FDF", 'F', ModItems.plate_armor_fau, 'D', ModItems.plate_dineutronium, 'S', ModItems.particle_sparkticle }));
|
||||||
|
|
||||||
GameRegistry.addRecipe(new ItemStack(ModItems.mech_key, 1), new Object[] { "MCM", "MKM", "MMM", 'M', ModItems.ingot_meteorite_forged, 'C', ModItems.coin_maskman, 'K', ModItems.key });
|
GameRegistry.addRecipe(new ItemStack(ModItems.mech_key, 1), new Object[] { "MCM", "MKM", "MMM", 'M', ModItems.ingot_meteorite_forged, 'C', ModItems.coin_maskman, 'K', ModItems.key });
|
||||||
|
|
||||||
|
|||||||
@ -573,15 +573,18 @@ public class ModEventHandler
|
|||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
ArmorFSB.handleAttack(event);
|
if(e instanceof EntityPlayer && ((EntityPlayer)e).inventory.armorInventory[2] != null && ((EntityPlayer)e).inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)((EntityPlayer)e).inventory.armorInventory[2].getItem()).handleAttack(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onEntityDamaged(LivingHurtEvent event) {
|
public void onEntityDamaged(LivingHurtEvent event) {
|
||||||
|
|
||||||
|
EntityLivingBase e = event.entityLiving;
|
||||||
|
|
||||||
for(int i = 1; i < 5; i++) {
|
for(int i = 1; i < 5; i++) {
|
||||||
|
|
||||||
ItemStack armor = event.entityLiving.getEquipmentInSlot(i);
|
ItemStack armor = e.getEquipmentInSlot(i);
|
||||||
|
|
||||||
if(armor != null && ArmorModHandler.hasMods(armor)) {
|
if(armor != null && ArmorModHandler.hasMods(armor)) {
|
||||||
|
|
||||||
@ -594,27 +597,35 @@ public class ModEventHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ArmorFSB.handleHurt(event);
|
if(e instanceof EntityPlayer && ((EntityPlayer)e).inventory.armorInventory[2] != null && ((EntityPlayer)e).inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)((EntityPlayer)e).inventory.armorInventory[2].getItem()).handleHurt(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onPlayerFall(PlayerFlyableFallEvent event) {
|
public void onPlayerFall(PlayerFlyableFallEvent event) {
|
||||||
|
|
||||||
ArmorFSB.handleFall(event.entityPlayer);
|
EntityPlayer e = event.entityPlayer;
|
||||||
|
|
||||||
|
if(e.inventory.armorInventory[2] != null && e.inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)e.inventory.armorInventory[2].getItem()).handleFall(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onEntityJump(LivingJumpEvent event) {
|
public void onEntityJump(LivingJumpEvent event) {
|
||||||
|
|
||||||
if(event.entityLiving instanceof EntityPlayer)
|
EntityLivingBase e = event.entityLiving;
|
||||||
ArmorFSB.handleJump((EntityPlayer) event.entityLiving);
|
|
||||||
|
if(e instanceof EntityPlayer && ((EntityPlayer)e).inventory.armorInventory[2] != null && ((EntityPlayer)e).inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)((EntityPlayer)e).inventory.armorInventory[2].getItem()).handleJump((EntityPlayer)e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onEntityFall(LivingFallEvent event) {
|
public void onEntityFall(LivingFallEvent event) {
|
||||||
|
|
||||||
if(event.entityLiving instanceof EntityPlayer)
|
EntityLivingBase e = event.entityLiving;
|
||||||
ArmorFSB.handleFall((EntityPlayer) event.entityLiving);
|
|
||||||
|
if(e instanceof EntityPlayer && ((EntityPlayer)e).inventory.armorInventory[2] != null && ((EntityPlayer)e).inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)((EntityPlayer)e).inventory.armorInventory[2].getItem()).handleFall((EntityPlayer)e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
@ -622,7 +633,8 @@ public class ModEventHandler
|
|||||||
|
|
||||||
EntityPlayer player = event.player;
|
EntityPlayer player = event.player;
|
||||||
|
|
||||||
ArmorFSB.handleTick(event);
|
if(player.inventory.armorInventory[2] != null && player.inventory.armorInventory[2].getItem() instanceof ArmorFSB)
|
||||||
|
((ArmorFSB)player.inventory.armorInventory[2].getItem()).handleTick(event);
|
||||||
|
|
||||||
if(player.ticksExisted == 100 || player.ticksExisted == 200)
|
if(player.ticksExisted == 100 || player.ticksExisted == 200)
|
||||||
CraftingManager.crumple();
|
CraftingManager.crumple();
|
||||||
|
|||||||
@ -8,9 +8,11 @@ import org.lwjgl.opengl.GL11;
|
|||||||
import com.hbm.entity.mob.EntityHunterChopper;
|
import com.hbm.entity.mob.EntityHunterChopper;
|
||||||
import com.hbm.entity.projectile.EntityChopperMine;
|
import com.hbm.entity.projectile.EntityChopperMine;
|
||||||
import com.hbm.extprop.HbmLivingProps;
|
import com.hbm.extprop.HbmLivingProps;
|
||||||
|
import com.hbm.extprop.HbmPlayerProps;
|
||||||
import com.hbm.handler.ArmorModHandler;
|
import com.hbm.handler.ArmorModHandler;
|
||||||
import com.hbm.handler.HTTPHandler;
|
import com.hbm.handler.HTTPHandler;
|
||||||
import com.hbm.handler.HazmatRegistry;
|
import com.hbm.handler.HazmatRegistry;
|
||||||
|
import com.hbm.handler.HbmKeybinds.EnumKeybind;
|
||||||
import com.hbm.interfaces.IHoldableWeapon;
|
import com.hbm.interfaces.IHoldableWeapon;
|
||||||
import com.hbm.interfaces.IItemHUD;
|
import com.hbm.interfaces.IItemHUD;
|
||||||
import com.hbm.interfaces.Spaghetti;
|
import com.hbm.interfaces.Spaghetti;
|
||||||
@ -26,6 +28,7 @@ import com.hbm.lib.Library;
|
|||||||
import com.hbm.lib.RefStrings;
|
import com.hbm.lib.RefStrings;
|
||||||
import com.hbm.packet.AuxButtonPacket;
|
import com.hbm.packet.AuxButtonPacket;
|
||||||
import com.hbm.packet.GunButtonPacket;
|
import com.hbm.packet.GunButtonPacket;
|
||||||
|
import com.hbm.packet.KeybindPacket;
|
||||||
import com.hbm.packet.PacketDispatcher;
|
import com.hbm.packet.PacketDispatcher;
|
||||||
import com.hbm.render.anim.HbmAnimations;
|
import com.hbm.render.anim.HbmAnimations;
|
||||||
import com.hbm.render.anim.HbmAnimations.Animation;
|
import com.hbm.render.anim.HbmAnimations.Animation;
|
||||||
@ -261,6 +264,24 @@ public class ModEventHandlerClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//just finish this somewhen i guess
|
||||||
|
/*@SubscribeEvent
|
||||||
|
public void keybindEvent(RenderPlayerEvent.Pre event) {
|
||||||
|
|
||||||
|
HbmPlayerProps props = HbmPlayerProps.getData(Minecraft.getMinecraft().thePlayer);
|
||||||
|
|
||||||
|
for(EnumKeybind key : EnumKeybind.values()) {
|
||||||
|
|
||||||
|
boolean last = props.getKeyPressed(key);
|
||||||
|
boolean current = MainRegistry.proxy.getIsKeyPressed(key);
|
||||||
|
|
||||||
|
if(last != current) {
|
||||||
|
PacketDispatcher.wrapper.sendToServer(new KeybindPacket(key, current));
|
||||||
|
props.setKeyPressed(key, current);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
@SubscribeEvent
|
@SubscribeEvent
|
||||||
public void onRenderArmorEvent(RenderPlayerEvent.SetArmorModel event) {
|
public void onRenderArmorEvent(RenderPlayerEvent.SetArmorModel event) {
|
||||||
|
|
||||||
|
|||||||
@ -530,6 +530,7 @@ public class ResourceManager {
|
|||||||
public static final IModelCustom armor_ajr = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/AJR.obj"));
|
public static final IModelCustom armor_ajr = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/AJR.obj"));
|
||||||
public static final IModelCustom armor_hat = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/hat.obj"));
|
public static final IModelCustom armor_hat = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/hat.obj"));
|
||||||
public static final IModelCustom armor_fau = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/fau.obj"));
|
public static final IModelCustom armor_fau = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/fau.obj"));
|
||||||
|
public static final IModelCustom armor_dnt = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/dnt.obj"));
|
||||||
public static final IModelCustom armor_mod_tesla = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/mod_tesla.obj"));
|
public static final IModelCustom armor_mod_tesla = new HFRWavefrontObject(new ResourceLocation(RefStrings.MODID, "models/armor/mod_tesla.obj"));
|
||||||
|
|
||||||
////Texture Items
|
////Texture Items
|
||||||
@ -604,6 +605,11 @@ public class ResourceManager {
|
|||||||
public static final ResourceLocation fau_cassette = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_cassette.png");
|
public static final ResourceLocation fau_cassette = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_cassette.png");
|
||||||
public static final ResourceLocation fau_arm = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_arm.png");
|
public static final ResourceLocation fau_arm = new ResourceLocation(RefStrings.MODID, "textures/armor/fau_arm.png");
|
||||||
|
|
||||||
|
public static final ResourceLocation dnt_helmet = new ResourceLocation(RefStrings.MODID, "textures/armor/dnt_helmet.png");
|
||||||
|
public static final ResourceLocation dnt_leg = new ResourceLocation(RefStrings.MODID, "textures/armor/dnt_leg.png");
|
||||||
|
public static final ResourceLocation dnt_chest = new ResourceLocation(RefStrings.MODID, "textures/armor/dnt_chest.png");
|
||||||
|
public static final ResourceLocation dnt_arm = new ResourceLocation(RefStrings.MODID, "textures/armor/dnt_arm.png");
|
||||||
|
|
||||||
public static final ResourceLocation mod_tesla = new ResourceLocation(RefStrings.MODID, "textures/armor/mod_tesla.png");
|
public static final ResourceLocation mod_tesla = new ResourceLocation(RefStrings.MODID, "textures/armor/mod_tesla.png");
|
||||||
|
|
||||||
public static final ResourceLocation hat = new ResourceLocation(RefStrings.MODID, "textures/armor/hat.png");
|
public static final ResourceLocation hat = new ResourceLocation(RefStrings.MODID, "textures/armor/hat.png");
|
||||||
|
|||||||
@ -7,7 +7,9 @@ import com.hbm.util.ArmorUtil;
|
|||||||
import com.hbm.util.ContaminationUtil;
|
import com.hbm.util.ContaminationUtil;
|
||||||
import com.hbm.util.I18nUtil;
|
import com.hbm.util.I18nUtil;
|
||||||
|
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.entity.EntityLivingBase;
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.potion.Potion;
|
import net.minecraft.potion.Potion;
|
||||||
@ -147,4 +149,26 @@ public class ItemHazardModule {
|
|||||||
list.add(EnumChatFormatting.YELLOW + I18nUtil.resolveKey("trait.furnace", (breeder[0] * breeder[1] * 5)));
|
list.add(EnumChatFormatting.YELLOW + I18nUtil.resolveKey("trait.furnace", (breeder[0] * breeder[1] * 5)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean onEntityItemUpdate(EntityItem item) {
|
||||||
|
|
||||||
|
if(!item.worldObj.isRemote) {
|
||||||
|
|
||||||
|
if(this.hydro && item.worldObj.getBlock((int)Math.floor(item.posX), (int)Math.floor(item.posY), (int)Math.floor(item.posZ)).getMaterial() == Material.water) {
|
||||||
|
|
||||||
|
item.setDead();
|
||||||
|
item.worldObj.newExplosion(item, item.posX, item.posY, item.posZ, 2F, true, true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if(this.explosive > 0 && item.isBurning()) {
|
||||||
|
|
||||||
|
item.setDead();
|
||||||
|
item.worldObj.newExplosion(item, item.posX, item.posY, item.posZ, this.explosive, true, true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
59
src/main/java/com/hbm/render/model/ModelArmorDNT.java
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
package com.hbm.render.model;
|
||||||
|
|
||||||
|
import org.lwjgl.opengl.GL11;
|
||||||
|
|
||||||
|
import com.hbm.main.ResourceManager;
|
||||||
|
import com.hbm.render.loader.ModelRendererObj;
|
||||||
|
|
||||||
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
|
||||||
|
public class ModelArmorDNT extends ModelArmorBase {
|
||||||
|
|
||||||
|
public ModelArmorDNT(int type) {
|
||||||
|
super(type);
|
||||||
|
|
||||||
|
head = new ModelRendererObj(ResourceManager.armor_dnt, "Head");
|
||||||
|
body = new ModelRendererObj(ResourceManager.armor_dnt, "Body");
|
||||||
|
leftArm = new ModelRendererObj(ResourceManager.armor_dnt, "LeftArm").setRotationPoint(-5.0F, 2.0F, 0.0F);
|
||||||
|
rightArm = new ModelRendererObj(ResourceManager.armor_dnt, "RightArm").setRotationPoint(5.0F, 2.0F, 0.0F);
|
||||||
|
leftLeg = new ModelRendererObj(ResourceManager.armor_dnt, "LeftLeg").setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||||
|
rightLeg = new ModelRendererObj(ResourceManager.armor_dnt, "RightLeg").setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||||
|
leftFoot = new ModelRendererObj(ResourceManager.armor_dnt, "LeftBoot").setRotationPoint(1.9F, 12.0F, 0.0F);
|
||||||
|
rightFoot = new ModelRendererObj(ResourceManager.armor_dnt, "RightBoot").setRotationPoint(-1.9F, 12.0F, 0.0F);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7) {
|
||||||
|
|
||||||
|
setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity);
|
||||||
|
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
GL11.glShadeModel(GL11.GL_SMOOTH);
|
||||||
|
|
||||||
|
if(type == 0) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.dnt_helmet);
|
||||||
|
head.render(par7);
|
||||||
|
}
|
||||||
|
if(type == 1) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.dnt_chest);
|
||||||
|
body.render(par7);
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.dnt_arm);
|
||||||
|
leftArm.render(par7);
|
||||||
|
rightArm.render(par7);
|
||||||
|
}
|
||||||
|
if(type == 2) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.dnt_leg);
|
||||||
|
leftLeg.render(par7);
|
||||||
|
rightLeg.render(par7);
|
||||||
|
}
|
||||||
|
if(type == 3) {
|
||||||
|
Minecraft.getMinecraft().renderEngine.bindTexture(ResourceManager.dnt_leg);
|
||||||
|
leftFoot.render(par7);
|
||||||
|
rightFoot.render(par7);
|
||||||
|
}
|
||||||
|
|
||||||
|
GL11.glShadeModel(GL11.GL_FLAT);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -133,7 +133,7 @@ public abstract class TileEntityMachineBase extends TileEntity implements ISided
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int[] getAccessibleSlotsFromSide(int p_94128_1_) {
|
public int[] getAccessibleSlotsFromSide(int p_94128_1_) {
|
||||||
return new int[] { 0 };
|
return new int[] { };
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getGaugeScaled(int i, FluidTank tank) {
|
public int getGaugeScaled(int i, FluidTank tank) {
|
||||||
|
|||||||
@ -190,7 +190,7 @@ public class TileEntityMachineShredder extends TileEntity implements ISidedInven
|
|||||||
if(i >= 9 && i <= 26)
|
if(i >= 9 && i <= 26)
|
||||||
return true;
|
return true;
|
||||||
if(i >= 27 && i <= 29)
|
if(i >= 27 && i <= 29)
|
||||||
if(itemStack.getItemDamage() == itemStack.getMaxDamage())
|
if(itemStack.getItemDamage() == itemStack.getMaxDamage() && itemStack.getMaxDamage() > 0)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -75,6 +75,8 @@ armor.blastProtection=Explosionsmodifikator: %s
|
|||||||
armor.cap=Schadensobergrenze: %s
|
armor.cap=Schadensobergrenze: %s
|
||||||
armor.damageModifier=Modifikator: %s (%s)
|
armor.damageModifier=Modifikator: %s (%s)
|
||||||
armor.electricJetpack=Ionentriebwerke
|
armor.electricJetpack=Ionentriebwerke
|
||||||
|
armor.explosionImmune=Kann nur Schaden durch Explosionen nehmen
|
||||||
|
armor.fastFall=Schneller Fall
|
||||||
armor.fireproof=Feuerfest
|
armor.fireproof=Feuerfest
|
||||||
armor.fullSetBonus=Set-Bonus:
|
armor.fullSetBonus=Set-Bonus:
|
||||||
armor.geigerHUD=Geigerzähler-HUD
|
armor.geigerHUD=Geigerzähler-HUD
|
||||||
@ -82,8 +84,11 @@ armor.geigerSound=Akustischer Geigerzähler
|
|||||||
armor.glider=Schleichen um zu gleiten
|
armor.glider=Schleichen um zu gleiten
|
||||||
armor.gravity=Schwerkraftsmodifikator: %s
|
armor.gravity=Schwerkraftsmodifikator: %s
|
||||||
armor.hardLanding=Harte Landung
|
armor.hardLanding=Harte Landung
|
||||||
|
armor.ignoreLimit=Resistenz ist nicht limitiert
|
||||||
armor.modifier=Genereller Schadensmodifikator: %s
|
armor.modifier=Genereller Schadensmodifikator: %s
|
||||||
armor.nullDamage=Nichtet Schaden von %s
|
armor.nullDamage=Nichtet Schaden von %s
|
||||||
|
armor.rocketBoots=Rocket boots
|
||||||
|
armor.sprintBoost=Verstärkter Sprint
|
||||||
armor.thermal=Wärmebildkamera
|
armor.thermal=Wärmebildkamera
|
||||||
armor.threshold=Schadensschwelle: %s
|
armor.threshold=Schadensschwelle: %s
|
||||||
armor.vats=Feinde-HUD
|
armor.vats=Feinde-HUD
|
||||||
@ -910,6 +915,7 @@ item.cmb_pickaxe.name=CMB-Stahlspitzhacke
|
|||||||
item.cmb_plate.name=CMB-Stahlbrustpanzer
|
item.cmb_plate.name=CMB-Stahlbrustpanzer
|
||||||
item.cmb_shovel.name=CMB-Stahlschaufel
|
item.cmb_shovel.name=CMB-Stahlschaufel
|
||||||
item.cmb_sword.name=CMB-Stahlschwert
|
item.cmb_sword.name=CMB-Stahlschwert
|
||||||
|
item.coal_infernal.name=Höllische Kohle
|
||||||
item.cobalt_axe.name=Kobaltaxt
|
item.cobalt_axe.name=Kobaltaxt
|
||||||
item.cobalt_boots.name=Kobaltstiefel
|
item.cobalt_boots.name=Kobaltstiefel
|
||||||
item.cobalt_decorated_axe.name=Ausgezeichnete Kobaltaxt
|
item.cobalt_decorated_axe.name=Ausgezeichnete Kobaltaxt
|
||||||
@ -1000,6 +1006,10 @@ item.detonator_laser.name=Laserzünder
|
|||||||
item.detonator_multi.name=Mehrfach-Fernzünder
|
item.detonator_multi.name=Mehrfach-Fernzünder
|
||||||
item.diamond_gavel.name=Diamantener Richterhammer
|
item.diamond_gavel.name=Diamantener Richterhammer
|
||||||
item.digamma_diagnostic.name=Digamma-Diagnosegerät
|
item.digamma_diagnostic.name=Digamma-Diagnosegerät
|
||||||
|
item.dns_boots.name=DNT-Nanoanzug Stiefel
|
||||||
|
item.dns_legs.name=DNT-Nanoanzug Beinschützer
|
||||||
|
item.dns_helmet.name=DNT-Nanoanzug Helm
|
||||||
|
item.dns_plate.name=DNT-Nanoanzug Brustpanzer
|
||||||
item.dnt_boots.name=dienautronium stiefel
|
item.dnt_boots.name=dienautronium stiefel
|
||||||
item.dnt_legs.name=dineuterium beine
|
item.dnt_legs.name=dineuterium beine
|
||||||
item.dnt_helmet.name=dinotroniumu helme
|
item.dnt_helmet.name=dinotroniumu helme
|
||||||
@ -1765,6 +1775,7 @@ item.plan_c.name=Plan C
|
|||||||
item.plate_advanced_alloy.name=Fortgeschrittene Legierungsplatte
|
item.plate_advanced_alloy.name=Fortgeschrittene Legierungsplatte
|
||||||
item.plate_aluminium.name=Aluminiumplatte
|
item.plate_aluminium.name=Aluminiumplatte
|
||||||
item.plate_armor_ajr.name=Eisenbeschlagene Panzerplatte
|
item.plate_armor_ajr.name=Eisenbeschlagene Panzerplatte
|
||||||
|
item.plate_armor_dnt.name=DNT-Panzerplatte
|
||||||
item.plate_armor_fau.name=Fau-Panzerplatte
|
item.plate_armor_fau.name=Fau-Panzerplatte
|
||||||
item.plate_armor_hev.name=Reaktive Panzerplatte
|
item.plate_armor_hev.name=Reaktive Panzerplatte
|
||||||
item.plate_armor_lunar.name=Lunare Panzerplatte
|
item.plate_armor_lunar.name=Lunare Panzerplatte
|
||||||
|
|||||||
@ -75,6 +75,8 @@ armor.blastProtection=Damage modifier of %s against explosions
|
|||||||
armor.cap=Hard damage cap of %s
|
armor.cap=Hard damage cap of %s
|
||||||
armor.damageModifier=Damage modifier of %s against %s
|
armor.damageModifier=Damage modifier of %s against %s
|
||||||
armor.electricJetpack=Ion Jetpack
|
armor.electricJetpack=Ion Jetpack
|
||||||
|
armor.explosionImmune=Cannot take any damage except from explosions
|
||||||
|
armor.fastFall=Fast Fall
|
||||||
armor.fireproof=Fireproof
|
armor.fireproof=Fireproof
|
||||||
armor.fullSetBonus=Full Set Bonus:
|
armor.fullSetBonus=Full Set Bonus:
|
||||||
armor.geigerHUD=Built-In Geiger Counter HUD
|
armor.geigerHUD=Built-In Geiger Counter HUD
|
||||||
@ -82,8 +84,11 @@ armor.geigerSound=Auditory Geiger Counter
|
|||||||
armor.glider=Sneak to glide
|
armor.glider=Sneak to glide
|
||||||
armor.gravity=Gravity modifier of %s
|
armor.gravity=Gravity modifier of %s
|
||||||
armor.hardLanding=Hard Landing
|
armor.hardLanding=Hard Landing
|
||||||
|
armor.ignoreLimit=Resistance is not affected by resistance limit
|
||||||
armor.modifier=General damage modifier of %s
|
armor.modifier=General damage modifier of %s
|
||||||
armor.nullDamage=Nullifies all damage from %s
|
armor.nullDamage=Nullifies all damage from %s
|
||||||
|
armor.rocketBoots=Rocket Boots
|
||||||
|
armor.sprintBoost=Boosted Sprint
|
||||||
armor.thermal=Thermal Sight
|
armor.thermal=Thermal Sight
|
||||||
armor.threshold=Damage threshold of %s
|
armor.threshold=Damage threshold of %s
|
||||||
armor.vats=Enemy HUD
|
armor.vats=Enemy HUD
|
||||||
@ -910,6 +915,7 @@ item.cmb_pickaxe.name=CMB Steel Pickaxe
|
|||||||
item.cmb_plate.name=CMB Steel Chestplate
|
item.cmb_plate.name=CMB Steel Chestplate
|
||||||
item.cmb_shovel.name=CMB Steel Shovel
|
item.cmb_shovel.name=CMB Steel Shovel
|
||||||
item.cmb_sword.name=CMB Steel Sword
|
item.cmb_sword.name=CMB Steel Sword
|
||||||
|
item.coal_infernal.name=Infernal Coal
|
||||||
item.cobalt_axe.name=Cobalt Axe
|
item.cobalt_axe.name=Cobalt Axe
|
||||||
item.cobalt_boots.name=Cobalt Boots
|
item.cobalt_boots.name=Cobalt Boots
|
||||||
item.cobalt_decorated_axe.name=Decorated Cobalt Axe
|
item.cobalt_decorated_axe.name=Decorated Cobalt Axe
|
||||||
@ -1000,6 +1006,10 @@ item.detonator_laser.name=Laser Detonator
|
|||||||
item.detonator_multi.name=Multi Detonator
|
item.detonator_multi.name=Multi Detonator
|
||||||
item.diamond_gavel.name=Diamond Gavel
|
item.diamond_gavel.name=Diamond Gavel
|
||||||
item.digamma_diagnostic.name=Digamma Diagnostic
|
item.digamma_diagnostic.name=Digamma Diagnostic
|
||||||
|
item.dns_boots.name=DNT Nano Suit Boots
|
||||||
|
item.dns_legs.name=DNT Nano Suit Leggins
|
||||||
|
item.dns_helmet.name=DNT Nano Suit Chestplate
|
||||||
|
item.dns_plate.name=DNT Nano Suit Helmet
|
||||||
item.dnt_boots.name=dienautronium boots
|
item.dnt_boots.name=dienautronium boots
|
||||||
item.dnt_legs.name=dineuterium legs
|
item.dnt_legs.name=dineuterium legs
|
||||||
item.dnt_helmet.name=dinotroniumu helmet
|
item.dnt_helmet.name=dinotroniumu helmet
|
||||||
@ -1765,6 +1775,7 @@ item.plan_c.name=Plan C
|
|||||||
item.plate_advanced_alloy.name=Advanced Alloy Plate
|
item.plate_advanced_alloy.name=Advanced Alloy Plate
|
||||||
item.plate_aluminium.name=Aluminium Plate
|
item.plate_aluminium.name=Aluminium Plate
|
||||||
item.plate_armor_ajr.name=Iron-Shod Armor Plating
|
item.plate_armor_ajr.name=Iron-Shod Armor Plating
|
||||||
|
item.plate_armor_dnt.name=DNT Armor Plating
|
||||||
item.plate_armor_fau.name=Fau Armor Plating
|
item.plate_armor_fau.name=Fau Armor Plating
|
||||||
item.plate_armor_hev.name=Reactive Armor Plating
|
item.plate_armor_hev.name=Reactive Armor Plating
|
||||||
item.plate_armor_lunar.name=Lunar Plating
|
item.plate_armor_lunar.name=Lunar Plating
|
||||||
|
|||||||
2238
src/main/resources/assets/hbm/models/armor/dnt.obj
Normal file
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_arm.png
Normal file
|
After Width: | Height: | Size: 396 B |
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_arm_1.png
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_chest.png
Normal file
|
After Width: | Height: | Size: 800 B |
|
After Width: | Height: | Size: 1011 B |
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_helmet.png
Normal file
|
After Width: | Height: | Size: 504 B |
|
After Width: | Height: | Size: 873 B |
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_leg.png
Normal file
|
After Width: | Height: | Size: 394 B |
BIN
src/main/resources/assets/hbm/textures/armor/base/dnt_leg_1.png
Normal file
|
After Width: | Height: | Size: 468 B |
BIN
src/main/resources/assets/hbm/textures/armor/dnt_arm.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/main/resources/assets/hbm/textures/armor/dnt_chest.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/main/resources/assets/hbm/textures/armor/dnt_helmet.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/main/resources/assets/hbm/textures/armor/dnt_leg.png
Normal file
|
After Width: | Height: | Size: 651 B |
|
Before Width: | Height: | Size: 966 B After Width: | Height: | Size: 1.7 KiB |
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"animation": {
|
||||||
|
"frametime": 4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 301 B |
BIN
src/main/resources/assets/hbm/textures/items/coal.png
Executable file
|
After Width: | Height: | Size: 267 B |
BIN
src/main/resources/assets/hbm/textures/items/coal_infernal.png
Normal file
|
After Width: | Height: | Size: 466 B |
BIN
src/main/resources/assets/hbm/textures/items/dns_boots.png
Normal file
|
After Width: | Height: | Size: 175 B |
BIN
src/main/resources/assets/hbm/textures/items/dns_helmet.png
Normal file
|
After Width: | Height: | Size: 284 B |
BIN
src/main/resources/assets/hbm/textures/items/dns_legs.png
Normal file
|
After Width: | Height: | Size: 245 B |
BIN
src/main/resources/assets/hbm/textures/items/dns_plate.png
Normal file
|
After Width: | Height: | Size: 331 B |
|
After Width: | Height: | Size: 285 B |
BIN
src/main/resources/assets/hbm/textures/items/gas_mask_mono.png
Normal file
|
After Width: | Height: | Size: 278 B |
BIN
src/main/resources/assets/hbm/textures/items/plate_armor_dnt.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
src/main/resources/assets/hbm/textures/models/ModelM65Mono.png
Normal file
|
After Width: | Height: | Size: 585 B |
@ -3,7 +3,7 @@
|
|||||||
"modid": "hbm",
|
"modid": "hbm",
|
||||||
"name": "Hbm's Nuclear Tech",
|
"name": "Hbm's Nuclear Tech",
|
||||||
"description": "A mod that adds weapons, nuclear themed stuff and machines",
|
"description": "A mod that adds weapons, nuclear themed stuff and machines",
|
||||||
"version":"1.0.27-3822",
|
"version":"1.0.27-3826",
|
||||||
"mcversion": "1.7.10",
|
"mcversion": "1.7.10",
|
||||||
"url": "",
|
"url": "",
|
||||||
"updateUrl": "",
|
"updateUrl": "",
|
||||||
|
|||||||