aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-06 23:49:27 +1000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2018-07-06 23:49:27 +1000
commit0d30becbc219fc2c86234e84dae306276dafe4c6 (patch)
tree8761781cdddb6dcc54f37a7fe66311c2e29c88c3 /src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java
parentc37b091b581a838c49a63911d2cda6324d029e10 (diff)
downloadGT5-Unofficial-0d30becbc219fc2c86234e84dae306276dafe4c6.tar.gz
GT5-Unofficial-0d30becbc219fc2c86234e84dae306276dafe4c6.tar.bz2
GT5-Unofficial-0d30becbc219fc2c86234e84dae306276dafe4c6.zip
+ Added a new Dimension, Australia.
% Stopped Custom Villagers spawning as professions that aren't custom. % Trade improvements for some Villagers. $ Fixed a bug in AutoMap mapping to internal name map.
Diffstat (limited to 'src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java')
-rw-r--r--src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java b/src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java
new file mode 100644
index 0000000000..9854f9fa6a
--- /dev/null
+++ b/src/Java/gtPlusPlus/australia/item/ItemBlockAustralia.java
@@ -0,0 +1,39 @@
+package gtPlusPlus.australia.item;
+
+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 ItemBlockAustralia extends ItemBlock {
+
+ protected final int mID;
+
+ public ItemBlockAustralia(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 Australia.");
+ 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("Pure Australian Outback.");
+ }
+ else if (this.mID == 3){ //blockDarkWorldPollutedDirt
+ list.add("Maybe you can do something with this?.");
+ }
+ }
+
+
+}