[TEXTURES] Cables and refined iron

This commit is contained in:
TheDoctorSoda 2016-03-06 18:37:10 -08:00
parent fcd594e512
commit c19b792960
8 changed files with 22 additions and 13 deletions

View file

@ -1,8 +1,9 @@
package techreborn.items;
import me.modmuss50.jsonDestroyer.api.ITexturedItem;
import techreborn.client.TechRebornCreativeTabMisc;
public class ItemUUmatter extends ItemTextureBase {
public class ItemUUmatter extends ItemTR implements ITexturedItem {
public ItemUUmatter() {
setCreativeTab(TechRebornCreativeTabMisc.instance);

View file

@ -5,6 +5,7 @@ import mcmultipart.microblock.IMicroblock;
import mcmultipart.multipart.*;
import mcmultipart.raytrace.PartMOP;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.block.properties.IProperty;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.properties.PropertyEnum;
@ -265,7 +266,11 @@ public abstract class CableMultipart extends Multipart implements IOccludingPart
@Override
public float getHardness(PartMOP hit) {
return 1F;
return 0.5F;
}
public Material getMaterial() {
return Material.cloth;
}
@Override

View file

@ -5,13 +5,13 @@ import techreborn.parts.types.*;
public enum EnumCableType implements IStringSerializable {
COPPER("copper", "techreborn:blocks/cables/copper_cable", 128, 12.0, true, CopperCable.class),
TIN("tin", "minecraft:blocks/iron_block", 32, 4.0, true, TinCable.class),
GOLD("gold", "minecraft:blocks/iron_block", 512, 3.0, true, GoldCable.class),
HV("hv", "minecraft:blocks/iron_block", 2048, 6.0, true, HVCable.class),
GLASSFIBER("glassfiber", "minecraft:blocks/iron_block", 8192, 4.0, false, GlassFiberCable.class),
TIN("tin", "techreborn:blocks/cables/tin_cable", 32, 12.0, true, TinCable.class),
GOLD("gold", "techreborn:blocks/cables/gold_cable", 512, 12.0, true, GoldCable.class),
HV("hv", "techreborn:blocks/cables/hv_cable", 2048, 12.0, true, HVCable.class),
GLASSFIBER("glassfiber", "techreborn:blocks/cables/glass_fiber_cable", 8192, 12.0, false, GlassFiberCable.class),
ICOPPER("insulatedcopper", "techreborn:blocks/cables/copper_insulated_cable", 128, 10.0, false, InsulatedCopperCable.class),
IGOLD("insulatedgold", "minecraft:blocks/iron_block", 512, 6.0, false, InsulatedGoldCable.class),
IHV("insulatedhv", "minecraft:blocks/iron_block", 2048, 10.0, false, InsulatedHVCable.class);
IGOLD("insulatedgold", "techreborn:blocks/cables/gold_insulated_cable", 512, 10.0, false, InsulatedGoldCable.class),
IHV("insulatedhv", "techreborn:blocks/cables/hv_insulated_cable", 2048, 10.0, false, InsulatedHVCable.class);
private String friendlyName;
public String textureName = "minecraft:blocks/iron_block";