From 86cfcdeee8d306563d1aa14e5ad9925a4e5da722 Mon Sep 17 00:00:00 2001 From: StevenRS11 Date: Thu, 22 May 2014 01:37:04 -0400 Subject: [PATCH] last few changes --- .../StevenDimDoors/mod_pocketDim/CraftingManager.java | 10 +++++----- .../items/ItemStabilizedRiftSignature.java | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/CraftingManager.java b/src/main/java/StevenDimDoors/mod_pocketDim/CraftingManager.java index 689f35b8..54cbe3b0 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/CraftingManager.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/CraftingManager.java @@ -56,12 +56,12 @@ public class CraftingManager implements ICraftingHandler if (properties.CraftingWarpDoorAllowed) { GameRegistry.addRecipe(new ItemStack(itemWarpDoor, 1), - "yxy", 'x', mod_pocketDim.itemStableFabric, 'y', Item.doorWood); + "yxy", 'x', Item.enderPearl, 'y', Item.doorWood); } if (properties.CraftingTransTrapdoorAllowed) { GameRegistry.addRecipe(new ItemStack(transTrapdoor, 1), - "y", "x", "y", 'x', mod_pocketDim.itemStableFabric, 'y', Block.trapdoor); + "y", "x", "y", 'x', Item.enderPearl, 'y', Block.trapdoor); } if (properties.CraftingRiftSignatureAllowed) { @@ -71,7 +71,7 @@ public class CraftingManager implements ICraftingHandler if (properties.CraftingRiftRemoverAllowed) { GameRegistry.addRecipe(new ItemStack(itemRiftRemover, 1), - "yyy", "yxy", "yyy", 'x', mod_pocketDim.itemStableFabric, 'y', Item.ingotGold); + "yyy", "yxy", "yyy", 'x', Item.enderPearl, 'y', Item.ingotGold); } if (properties.CraftingRiftBladeAllowed) { @@ -81,12 +81,12 @@ public class CraftingManager implements ICraftingHandler if (properties.CraftingStabilizedRiftSignatureAllowed) { GameRegistry.addRecipe(new ItemStack(mod_pocketDim.itemStabilizedLinkSignature,1), - " y ", "yxy", " y ", 'x', mod_pocketDim.itemRiftSignature, 'y', mod_pocketDim.itemStableFabric); + " y ", "yxy", " y ", 'x', mod_pocketDim.itemRiftSignature, 'y', mod_pocketDim.itemWorldThread); } if (properties.CraftingGoldenDimensionalDoorAllowed) { GameRegistry.addRecipe(new ItemStack(mod_pocketDim.itemGoldenDimensionalDoor,1), - "yxy", 'x', mod_pocketDim.itemGoldenDoor, 'y', mod_pocketDim.itemStableFabric); + "yxy", 'y', mod_pocketDim.itemGoldenDoor, 'x', mod_pocketDim.itemStableFabric); } if (properties.CraftingGoldenDoorAllowed) { diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/items/ItemStabilizedRiftSignature.java b/src/main/java/StevenDimDoors/mod_pocketDim/items/ItemStabilizedRiftSignature.java index 4d1cf840..8dc55709 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/items/ItemStabilizedRiftSignature.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/items/ItemStabilizedRiftSignature.java @@ -55,9 +55,9 @@ public class ItemStabilizedRiftSignature extends ItemRiftSignature { // Yes, it's initialized. Check if the player is in creative // or if the player can pay with Stable Fabric to create a rift. - if (!player.capabilities.isCreativeMode && !player.inventory.hasItem(mod_pocketDim.itemStableFabric.itemID)) + if (!player.capabilities.isCreativeMode && !player.inventory.hasItem(Item.enderPearl.itemID)) { - mod_pocketDim.sendChat(player, "You don't have any Stable Fabric!"); + mod_pocketDim.sendChat(player, "You don't have any Ender Pearls!"); // I won't do this, but this is the chance to localize chat // messages sent to the player; look at ChatMessageComponent // and how MFR does it with items like the safari net launcher @@ -88,7 +88,7 @@ public class ItemStabilizedRiftSignature extends ItemRiftSignature if (!player.capabilities.isCreativeMode) { - player.inventory.consumeInventoryItem(mod_pocketDim.itemStableFabric.itemID); + player.inventory.consumeInventoryItem(Item.enderPearl.itemID); } mod_pocketDim.sendChat(player,"Rift Created"); world.playSoundAtEntity(player,"mods.DimDoors.sfx.riftEnd", 0.6f, 1);