This commit is contained in:
modmuss50 2016-03-21 19:36:54 +00:00
parent 32027f948c
commit 4f3d9ddfca
3 changed files with 26 additions and 0 deletions

View file

@ -10,6 +10,8 @@ import net.minecraftforge.fml.common.registry.GameRegistry;
import reborncore.common.blocks.BlockMachineBase; import reborncore.common.blocks.BlockMachineBase;
import reborncore.common.powerSystem.PoweredItem; import reborncore.common.powerSystem.PoweredItem;
import reborncore.common.util.BucketHandler; import reborncore.common.util.BucketHandler;
import reborncore.shields.api.Shield;
import reborncore.shields.api.ShieldRegistry;
import techreborn.Core; import techreborn.Core;
import techreborn.blocks.BlockMachineFrame; import techreborn.blocks.BlockMachineFrame;
import techreborn.events.OreUnifier; import techreborn.events.OreUnifier;
@ -17,6 +19,7 @@ import techreborn.items.*;
import techreborn.items.armor.ItemLapotronPack; import techreborn.items.armor.ItemLapotronPack;
import techreborn.items.armor.ItemLithiumBatpack; import techreborn.items.armor.ItemLithiumBatpack;
import techreborn.items.tools.*; import techreborn.items.tools.*;
import techreborn.shields.TechRebornShield;
public class ModItems { public class ModItems {
@ -95,6 +98,8 @@ public class ModItems {
public static Item missingRecipe; public static Item missingRecipe;
public static Item debug; public static Item debug;
public static Shield trShield;
public static void init() throws InstantiationException, IllegalAccessException { public static void init() throws InstantiationException, IllegalAccessException {
gems = new ItemGems(); gems = new ItemGems();
@ -335,6 +340,9 @@ public class ModItems {
MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE); MinecraftForge.EVENT_BUS.register(BucketHandler.INSTANCE);
trShield = new TechRebornShield("techreborn");
ShieldRegistry.registerShield(trShield);
Core.logHelper.info("TechReborns Items Loaded"); Core.logHelper.info("TechReborns Items Loaded");

View file

@ -0,0 +1,18 @@
package techreborn.shields;
import net.minecraft.util.ResourceLocation;
import reborncore.shields.api.Shield;
/**
* Created by Mark on 21/03/2016.
*/
public class TechRebornShield extends Shield {
public TechRebornShield(String name) {
super(name);
}
@Override
public ResourceLocation getShieldTexture() {
return new ResourceLocation("techreborn:textures/shields/trShield.png");
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB