diff options
Diffstat (limited to 'src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java')
-rw-r--r-- | src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java | 53 |
1 files changed, 23 insertions, 30 deletions
diff --git a/src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java b/src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java index ce4182c598..51776df839 100644 --- a/src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java +++ b/src/main/java/gtPlusPlus/everglades/item/ItemBlockToxicEverglades.java @@ -1,42 +1,35 @@ package gtPlusPlus.everglades.item; +import gtPlusPlus.api.interfaces.ITileTooltip; import java.util.List; - import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; -import gtPlusPlus.api.interfaces.ITileTooltip; - public class ItemBlockToxicEverglades extends ItemBlock { - - protected final int mID; - - public ItemBlockToxicEverglades(final Block block) { - super(block); - this.mID = ((ITileTooltip) block).getTooltipID(); - } - @Override - public void addInformation(final ItemStack stack, final EntityPlayer aPlayer, final List list, final boolean bool) { - if (this.mID == 0){ //blockDarkWorldPortalFrame - list.add("Use this to access the Toxic Everglades."); - list.add("Assembled in the same shape as the Nether Portal."); - } - else if (this.mID == 1){ //blockDarkWorldPortal - list.add("Place this if you are lazy to create the portal structure, slacker."); - } - else if (this.mID == 2){ //blockDarkWorldGround - list.add("Will burn very quickly if it happens to catch fire."); - } - else if (this.mID == 3){ //blockDarkWorldPollutedDirt - list.add("Maybe you can do something with this?."); - if (stack.getItemDamage() > 0) { - list.add("This smells worse than a bean fart..."); - } - } - } - + protected final int mID; + + public ItemBlockToxicEverglades(final Block block) { + super(block); + this.mID = ((ITileTooltip) block).getTooltipID(); + } + @Override + public void addInformation(final ItemStack stack, final EntityPlayer aPlayer, final List list, final boolean bool) { + if (this.mID == 0) { // blockDarkWorldPortalFrame + list.add("Use this to access the Toxic Everglades."); + list.add("Assembled in the same shape as the Nether Portal."); + } else if (this.mID == 1) { // blockDarkWorldPortal + list.add("Place this if you are lazy to create the portal structure, slacker."); + } else if (this.mID == 2) { // blockDarkWorldGround + list.add("Will burn very quickly if it happens to catch fire."); + } else if (this.mID == 3) { // blockDarkWorldPollutedDirt + list.add("Maybe you can do something with this?."); + if (stack.getItemDamage() > 0) { + list.add("This smells worse than a bean fart..."); + } + } + } } |