Moved shields to RebornCore
This commit is contained in:
parent
eec6139d33
commit
ab19d71ede
3 changed files with 0 additions and 27 deletions
|
@ -10,8 +10,6 @@ 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;
|
||||||
|
@ -19,7 +17,6 @@ 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 {
|
||||||
|
|
||||||
|
@ -98,8 +95,6 @@ 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();
|
||||||
|
@ -340,10 +335,6 @@ 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");
|
||||||
|
|
||||||
registerOreDict();
|
registerOreDict();
|
||||||
|
|
|
@ -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 |
Loading…
Add table
Reference in a new issue