Moved shields to RebornCore

This commit is contained in:
modmuss50 2016-03-22 20:30:59 +00:00
parent eec6139d33
commit ab19d71ede
3 changed files with 0 additions and 27 deletions

View file

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

View file

@ -1,18 +0,0 @@
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.

Before

Width:  |  Height:  |  Size: 15 KiB