diff options
| author | Draknyte1 <Draknyte1@hotmail.com> | 2016-04-03 18:14:21 +1000 |
|---|---|---|
| committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-04-03 18:14:21 +1000 |
| commit | 915139115434ff5797df6f82a63578e938864016 (patch) | |
| tree | 5e8f655e8e9cc8b1af2db2ae3fdbbedfb942ec39 /src/Java/miscutil/core/item/base | |
| parent | 6e2d7b787d2338fd6e35532f91e6ff6a48eed682 (diff) | |
| download | GT5-Unofficial-915139115434ff5797df6f82a63578e938864016.tar.gz GT5-Unofficial-915139115434ff5797df6f82a63578e938864016.tar.bz2 GT5-Unofficial-915139115434ff5797df6f82a63578e938864016.zip | |
Finally, Got everything working how I want. Only thing left to do is the anti-grief block.
Fixed Buffer Cores, now there is 10 tiers, all with a unique colour and recipe.
Energy Buffers have had their recipes revised, due to new recipes for the cores.
Steam condenser may need tweaking, but for now, I'll let it slide and players test it.
Updated a few graphics too, the Staballoy Axe and Pickaxe, the Buffer Core and the New Hammer Tool all received visual updates.
Compiled build and Dev. build will be up shortly.
Diffstat (limited to 'src/Java/miscutil/core/item/base')
| -rw-r--r-- | src/Java/miscutil/core/item/base/BaseItemWithDamageValue.java | 28 | ||||
| -rw-r--r-- | src/Java/miscutil/core/item/base/BaseMetaItemTool.java | 5 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/Java/miscutil/core/item/base/BaseItemWithDamageValue.java b/src/Java/miscutil/core/item/base/BaseItemWithDamageValue.java new file mode 100644 index 0000000000..fdd770139d --- /dev/null +++ b/src/Java/miscutil/core/item/base/BaseItemWithDamageValue.java @@ -0,0 +1,28 @@ +package miscutil.core.item.base; + +import java.util.List; + +import miscutil.core.lib.CORE; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.Item; +import net.minecraft.item.ItemStack; +import net.minecraft.util.EnumChatFormatting; + +public class BaseItemWithDamageValue extends Item{ + public BaseItemWithDamageValue(String unlocalizedName) { + this.setUnlocalizedName(unlocalizedName); + this.setTextureName(CORE.MODID + ":" + unlocalizedName); + this.setMaxStackSize(1); + this.setMaxDamage(100); + } + @Override + public void setDamage(ItemStack stack, int damage) { + super.setDamage(stack, damage); + } + @SuppressWarnings({ "unchecked", "rawtypes" }) + @Override + public void addInformation(ItemStack stack, EntityPlayer aPlayer, List list, boolean bool) { + list.add(EnumChatFormatting.GOLD+""); + super.addInformation(stack, aPlayer, list, bool); + } +}
\ No newline at end of file diff --git a/src/Java/miscutil/core/item/base/BaseMetaItemTool.java b/src/Java/miscutil/core/item/base/BaseMetaItemTool.java new file mode 100644 index 0000000000..bbd792cce4 --- /dev/null +++ b/src/Java/miscutil/core/item/base/BaseMetaItemTool.java @@ -0,0 +1,5 @@ +package miscutil.core.item.base; + +public class BaseMetaItemTool { + +} |
