Squashed commit of the following:
commit 00d9c08c78680aba0310febfce5f42ccdb873eb6 Author: modmuss50 <modmuss50@gmail.com> Date: Fri Jan 22 13:38:27 2016 +0000 Rename to fix spelling issue commit cf780e5f6dc548b64da8e4e2f24f38377b692c5c Author: modmuss50 <modmuss50@gmail.com> Date: Fri Jan 22 13:27:15 2016 +0000 Update to new JSON-Destoryer version commit ef3c8636242a54787d53cef9dda373818030d991 Author: modmuss50 <modmuss50@gmail.com> Date: Wed Jan 20 17:27:41 2016 +0000 Update to new json destroyer
This commit is contained in:
parent
43768b9310
commit
7e7ad74203
21 changed files with 67 additions and 123 deletions
src/main/java/techreborn/items/tools
|
@ -1,5 +1,6 @@
|
|||
package techreborn.items.tools;
|
||||
|
||||
import me.modmuss50.jsonDestroyer.api.ITexturedItem;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
|
@ -14,18 +15,16 @@ import net.minecraft.util.EnumFacing;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.api.IItemTexture;
|
||||
import reborncore.api.TextureRegistry;
|
||||
import reborncore.RebornCore;
|
||||
import reborncore.common.util.TorchHelper;
|
||||
import techreborn.api.power.IEnergyItemInfo;
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.config.ConfigTechReborn;
|
||||
import techreborn.lib.ModInfo;
|
||||
import techreborn.powerSystem.PoweredItem;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ItemAdvancedDrill extends ItemPickaxe implements IEnergyItemInfo, IItemTexture {
|
||||
public class ItemAdvancedDrill extends ItemPickaxe implements IEnergyItemInfo, ITexturedItem {
|
||||
|
||||
public static final int maxCharge = ConfigTechReborn.AdvancedDrillCharge;
|
||||
public int cost = 250;
|
||||
|
@ -39,7 +38,7 @@ public class ItemAdvancedDrill extends ItemPickaxe implements IEnergyItemInfo, I
|
|||
setMaxStackSize(1);
|
||||
setMaxDamage(240);
|
||||
setUnlocalizedName("techreborn.advancedDrill");
|
||||
TextureRegistry.registerItem(this);
|
||||
RebornCore.jsonDestroyer.registerObject(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -141,9 +140,4 @@ public class ItemAdvancedDrill extends ItemPickaxe implements IEnergyItemInfo, I
|
|||
public int getMaxMeta() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getModID() {
|
||||
return ModInfo.MOD_ID;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue