From 6406bd333d3e6bce878c485af1791ad8caeedcde Mon Sep 17 00:00:00 2001 From: GotoLink Date: Mon, 21 Jul 2014 18:02:21 +0200 Subject: [PATCH] Update to 1.7.10 --- common/MysticMods_common.iml | 14 ++------------ common/MysticOres/Blocks/BlockHandler.java | 2 +- common/MysticWorld/Blocks/BlockHandler.java | 5 ++--- common/mysticworld/Blocks/BlockBushes.java | 2 +- common/mysticworld/items/ItemHandler.java | 6 ------ 5 files changed, 6 insertions(+), 23 deletions(-) diff --git a/common/MysticMods_common.iml b/common/MysticMods_common.iml index 16cee9c..9ef36fb 100644 --- a/common/MysticMods_common.iml +++ b/common/MysticMods_common.iml @@ -17,18 +17,13 @@ - - - - - @@ -37,20 +32,15 @@ - - - - - - - + + diff --git a/common/MysticOres/Blocks/BlockHandler.java b/common/MysticOres/Blocks/BlockHandler.java index 69aa7ef..d8ea945 100644 --- a/common/MysticOres/Blocks/BlockHandler.java +++ b/common/MysticOres/Blocks/BlockHandler.java @@ -12,6 +12,6 @@ public class BlockHandler { public static Block BlockBase; public static void initialize() { - BlockBase = GameRegistry.registerBlock(new BlockBase().setStepSound(Block.soundTypeStone), ItemBase.class, "Base Blocks", "mysticores", BLOCK_NAMES); + BlockBase = GameRegistry.registerBlock(new BlockBase().setStepSound(Block.soundTypeStone), ItemBase.class, "Base Blocks", BLOCK_NAMES); } } diff --git a/common/MysticWorld/Blocks/BlockHandler.java b/common/MysticWorld/Blocks/BlockHandler.java index 3f9c8e8..a9abb4e 100644 --- a/common/MysticWorld/Blocks/BlockHandler.java +++ b/common/MysticWorld/Blocks/BlockHandler.java @@ -1,7 +1,6 @@ package mysticworld.blocks; import mysticworld.lib.Strings; -import mysticworld.util.Reference; import net.minecraft.block.Block; import cpw.mods.fml.common.registry.GameRegistry; @@ -16,8 +15,8 @@ public class BlockHandler { public static Block oreImbuedStone, bush, lightCube, pillarPlatform, pillar, pillarInsert; public static void init() { - oreImbuedStone = GameRegistry.registerBlock(new BlockImbuedStone().setBlockName(Strings.IMBUED_STONE_NAME), ItemBlockMulti.class, Strings.IMBUED_STONE_NAME, Reference.MOD_ID, IMBUED_STONE_TYPE); - bush = GameRegistry.registerBlock(new BlockBushes().setBlockName(Strings.BUSH_NAME), ItemBlockMulti.class, Strings.BUSH_NAME, Reference.MOD_ID, BUSH_TYPES); + oreImbuedStone = GameRegistry.registerBlock(new BlockImbuedStone().setBlockName(Strings.IMBUED_STONE_NAME), ItemBlockMulti.class, Strings.IMBUED_STONE_NAME, IMBUED_STONE_TYPE); + bush = GameRegistry.registerBlock(new BlockBushes().setBlockName(Strings.BUSH_NAME), ItemBlockMulti.class, Strings.BUSH_NAME, BUSH_TYPES); lightCube = GameRegistry.registerBlock(new BlockLightCube().setBlockName(Strings.LIGHT_CUBE_NAME).setBlockTextureName("mysticworld:lightCube"), Strings.LIGHT_CUBE_NAME); pillarPlatform = GameRegistry.registerBlock(new BlockPlatform().setBlockName(Strings.PLATFORM_NAME).setBlockTextureName("mysticworld:Platform"), Strings.PLATFORM_NAME); pillar = GameRegistry.registerBlock(new BlockPillar().setBlockName(Strings.PILLAR_NAME).setBlockTextureName("mysticworld:Pillar"), Strings.PILLAR_NAME); diff --git a/common/mysticworld/Blocks/BlockBushes.java b/common/mysticworld/Blocks/BlockBushes.java index bae85a8..474dea4 100644 --- a/common/mysticworld/Blocks/BlockBushes.java +++ b/common/mysticworld/Blocks/BlockBushes.java @@ -57,7 +57,7 @@ public class BlockBushes extends BlockBush { @Override public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4) { - return AxisAlignedBB.getAABBPool().getAABB(par2 + this.getBlockBoundsMinX(), par3 + this.getBlockBoundsMinY(), par4 + this.getBlockBoundsMinZ(), par2 + this.getBlockBoundsMaxX(), par3 + this.getBlockBoundsMaxY(), par4 + this.getBlockBoundsMaxZ()); + return AxisAlignedBB.getBoundingBox(par2 + this.getBlockBoundsMinX(), par3 + this.getBlockBoundsMinY(), par4 + this.getBlockBoundsMinZ(), par2 + this.getBlockBoundsMaxX(), par3 + this.getBlockBoundsMaxY(), par4 + this.getBlockBoundsMaxZ()); } @Override diff --git a/common/mysticworld/items/ItemHandler.java b/common/mysticworld/items/ItemHandler.java index ac19c5e..c2aa7ce 100644 --- a/common/mysticworld/items/ItemHandler.java +++ b/common/mysticworld/items/ItemHandler.java @@ -14,12 +14,6 @@ public class ItemHandler { public static Item earthStaff; public static Item airStaff; public static Item energyStaff; - public static Item fireStaffPower; - public static Item waterStaffPower; - public static Item earthStaffPower; - public static Item airStaffPower; - public static Item energyStaffPower; - public static Item staffPower; public static Item fireOrb; public static Item waterOrb; public static Item earthOrb;