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:
modmuss50 2016-01-22 13:39:20 +00:00
parent 43768b9310
commit 7e7ad74203
21 changed files with 67 additions and 123 deletions

View file

@ -1,17 +1,15 @@
package techreborn.items.tools;
import me.modmuss50.jsonDestroyer.api.ITexturedItem;
import net.minecraft.block.Block;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBucket;
import net.minecraftforge.fluids.FluidContainerRegistry;
import reborncore.api.IItemTexture;
import reborncore.api.TextureRegistry;
import reborncore.common.util.BucketHandler;
import reborncore.RebornCore;
import techreborn.client.TechRebornCreativeTabMisc;
import techreborn.lib.ModInfo;
public class ItemFluidbucket extends ItemBucket implements IItemTexture {
public class ItemFluidbucket extends ItemBucket implements ITexturedItem {
private String iconName;
public ItemFluidbucket(Block block) {
@ -19,7 +17,7 @@ public class ItemFluidbucket extends ItemBucket implements IItemTexture {
setContainerItem(Items.bucket);
setCreativeTab(TechRebornCreativeTabMisc.instance);
setUnlocalizedName("techreborn.fluidbucket");
TextureRegistry.registerItem(this);
RebornCore.jsonDestroyer.registerObject(this);
}
@Override
@ -37,10 +35,4 @@ public class ItemFluidbucket extends ItemBucket implements IItemTexture {
public int getMaxMeta() {
return 1;
}
@Override
public String getModID() {
return ModInfo.MOD_ID;
}
}