From ee407fb9d7e9b27bce8080c2eee5d5ced82a89b8 Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Wed, 6 Nov 2013 17:04:21 -0500 Subject: [PATCH] Renamed Apatite to Malachite --- common/biomesoplenty/api/BlockReferences.java | 4 ++-- common/biomesoplenty/blocks/BlockAltar.java | 4 ++-- .../biomesoplenty/blocks/BlockBOPAmethyst.java | 2 +- .../blocks/renderers/AltarRenderer.java | 2 +- common/biomesoplenty/items/ItemBOP.java | 2 +- common/biomesoplenty/items/ItemBOPAmethyst.java | 2 +- .../tileentities/TileEntityAltar.java | 16 ++++++++-------- resources/assets/biomesoplenty/lang/en_US.lang | 6 +++--- .../{frameapatite.png => framemalachite.png} | Bin .../textures/blocks/lilypadgreen.png | Bin 0 -> 282 bytes .../textures/blocks/lilypadteal.png | Bin 0 -> 266 bytes .../textures/blocks/lilypadyellow.png | Bin 0 -> 282 bytes .../{apatiteblock.png => malachiteblock.png} | Bin .../blocks/{apatiteore.png => malachiteore.png} | Bin .../items/{apatite.png => malachite.png} | Bin 15 files changed, 19 insertions(+), 19 deletions(-) rename resources/assets/biomesoplenty/textures/blocks/{frameapatite.png => framemalachite.png} (100%) create mode 100644 resources/assets/biomesoplenty/textures/blocks/lilypadgreen.png create mode 100644 resources/assets/biomesoplenty/textures/blocks/lilypadteal.png create mode 100644 resources/assets/biomesoplenty/textures/blocks/lilypadyellow.png rename resources/assets/biomesoplenty/textures/blocks/{apatiteblock.png => malachiteblock.png} (100%) rename resources/assets/biomesoplenty/textures/blocks/{apatiteore.png => malachiteore.png} (100%) rename resources/assets/biomesoplenty/textures/items/{apatite.png => malachite.png} (100%) diff --git a/common/biomesoplenty/api/BlockReferences.java b/common/biomesoplenty/api/BlockReferences.java index 9a3c96227..d02d4147a 100644 --- a/common/biomesoplenty/api/BlockReferences.java +++ b/common/biomesoplenty/api/BlockReferences.java @@ -138,8 +138,8 @@ public class BlockReferences { topazBlock (Blocks.amethystOre, 7), tanzaniteOre (Blocks.amethystOre, 8), tanzaniteBlock (Blocks.amethystOre, 9), - apatiteOre (Blocks.amethystOre, 10), - apatiteBlock (Blocks.amethystOre, 11), + malachiteOre (Blocks.amethystOre, 10), + malachiteBlock (Blocks.amethystOre, 11), sapphireOre (Blocks.amethystOre, 12), sapphireBlock (Blocks.amethystOre, 13), diff --git a/common/biomesoplenty/blocks/BlockAltar.java b/common/biomesoplenty/blocks/BlockAltar.java index ef5726a79..36977ec96 100644 --- a/common/biomesoplenty/blocks/BlockAltar.java +++ b/common/biomesoplenty/blocks/BlockAltar.java @@ -28,7 +28,7 @@ public class BlockAltar extends Block public static Icon altarFrame; public static Icon altarFrameTop; - public static Icon frameApatite; + public static Icon frameMalachite; public static Icon framePeridot; public static Icon frameRuby; public static Icon frameSapphire; @@ -50,7 +50,7 @@ public class BlockAltar extends Block altarFrame = iconRegister.registerIcon("biomesoplenty:altarframe"); altarFrameTop = iconRegister.registerIcon("biomesoplenty:altarframetop"); - frameApatite = iconRegister.registerIcon("biomesoplenty:frameapatite"); + frameMalachite = iconRegister.registerIcon("biomesoplenty:framemalachite"); framePeridot = iconRegister.registerIcon("biomesoplenty:frameperidot"); frameRuby = iconRegister.registerIcon("biomesoplenty:frameruby"); frameSapphire = iconRegister.registerIcon("biomesoplenty:framesapphire"); diff --git a/common/biomesoplenty/blocks/BlockBOPAmethyst.java b/common/biomesoplenty/blocks/BlockBOPAmethyst.java index 5eba2fb10..5d09046fa 100644 --- a/common/biomesoplenty/blocks/BlockBOPAmethyst.java +++ b/common/biomesoplenty/blocks/BlockBOPAmethyst.java @@ -17,7 +17,7 @@ import biomesoplenty.api.Items; public class BlockBOPAmethyst extends Block { - public static final String[] types = new String[] {"amethystore", "amethystblock", "rubyore", "rubyblock", "peridotore", "peridotblock", "topazore", "topazblock", "tanzaniteore", "tanzaniteblock", "apatiteore", "apatiteblock", "sapphireore", "sapphireblock"}; + public static final String[] types = new String[] {"amethystore", "amethystblock", "rubyore", "rubyblock", "peridotore", "peridotblock", "topazore", "topazblock", "tanzaniteore", "tanzaniteblock", "malachiteore", "malachiteblock", "sapphireore", "sapphireblock"}; private Icon[] textures; public BlockBOPAmethyst(int par1, Material par2Material) diff --git a/common/biomesoplenty/blocks/renderers/AltarRenderer.java b/common/biomesoplenty/blocks/renderers/AltarRenderer.java index e481657d4..51622ab83 100644 --- a/common/biomesoplenty/blocks/renderers/AltarRenderer.java +++ b/common/biomesoplenty/blocks/renderers/AltarRenderer.java @@ -52,7 +52,7 @@ public class AltarRenderer implements ISimpleBlockRenderingHandler if (tileentityaltar.getPresent(14)) { - renderAltarSlotFaces(renderer, block, BlockAltar.frameApatite, world, x, y, z); + renderAltarSlotFaces(renderer, block, BlockAltar.frameMalachite, world, x, y, z); } if (tileentityaltar.getPresent(15)) diff --git a/common/biomesoplenty/items/ItemBOP.java b/common/biomesoplenty/items/ItemBOP.java index 45799f177..69c703f38 100644 --- a/common/biomesoplenty/items/ItemBOP.java +++ b/common/biomesoplenty/items/ItemBOP.java @@ -13,7 +13,7 @@ import cpw.mods.fml.relauncher.SideOnly; public class ItemBOP extends Item { - private static String[] items = {"mudbrick", "ash", "amethyst", "poison", "crystalshard", "bluedye", "browndye", "greendye", "whitedye", "blackdye", "ruby", "peridot", "topaz", "tanzanite", "apatite", "sapphire", "ghastlysoul"}; + private static String[] items = {"mudbrick", "ash", "amethyst", "poison", "crystalshard", "bluedye", "browndye", "greendye", "whitedye", "blackdye", "ruby", "peridot", "topaz", "tanzanite", "malachite", "sapphire", "ghastlysoul"}; @SideOnly(Side.CLIENT) private Icon[] textures; diff --git a/common/biomesoplenty/items/ItemBOPAmethyst.java b/common/biomesoplenty/items/ItemBOPAmethyst.java index ed1e8b836..91212aff9 100644 --- a/common/biomesoplenty/items/ItemBOPAmethyst.java +++ b/common/biomesoplenty/items/ItemBOPAmethyst.java @@ -5,7 +5,7 @@ import net.minecraft.item.ItemStack; public class ItemBOPAmethyst extends ItemBlock { - private static final String[] types = new String[] {"amethystore", "amethystblock", "rubyore", "rubyblock", "peridotore", "peridotblock", "topazore", "topazblock", "tanzaniteore", "tanzaniteblock", "apatiteore", "apatiteblock", "sapphireore", "sapphireblock"}; + private static final String[] types = new String[] {"amethystore", "amethystblock", "rubyore", "rubyblock", "peridotore", "peridotblock", "topazore", "topazblock", "tanzaniteore", "tanzaniteblock", "malachiteore", "malachiteblock", "sapphireore", "sapphireblock"}; public ItemBOPAmethyst(int par1) { diff --git a/common/biomesoplenty/tileentities/TileEntityAltar.java b/common/biomesoplenty/tileentities/TileEntityAltar.java index fdc056f1e..f0c17715f 100644 --- a/common/biomesoplenty/tileentities/TileEntityAltar.java +++ b/common/biomesoplenty/tileentities/TileEntityAltar.java @@ -8,7 +8,7 @@ import net.minecraft.tileentity.TileEntity; public class TileEntityAltar extends TileEntity { - private boolean apatitePresent = false; + private boolean malachitePresent = false; private boolean peridotPresent = false; private boolean rubyPresent = false; private boolean sapphirePresent = false; @@ -19,7 +19,7 @@ public class TileEntityAltar extends TileEntity public void readFromNBT(NBTTagCompound nbt) { super.readFromNBT(nbt); - this.apatitePresent = nbt.getBoolean("apatitePresent"); + this.malachitePresent = nbt.getBoolean("malachitePresent"); this.peridotPresent = nbt.getBoolean("peridotPresent"); this.rubyPresent = nbt.getBoolean("rubyPresent"); this.sapphirePresent = nbt.getBoolean("sapphirePresent"); @@ -31,7 +31,7 @@ public class TileEntityAltar extends TileEntity public void writeToNBT(NBTTagCompound nbt) { super.writeToNBT(nbt); - nbt.setBoolean("apatitePresent", apatitePresent); + nbt.setBoolean("malachitePresent", malachitePresent); nbt.setBoolean("peridotPresent", peridotPresent); nbt.setBoolean("rubyPresent", rubyPresent); nbt.setBoolean("sapphirePresent", sapphirePresent); @@ -44,7 +44,7 @@ public class TileEntityAltar extends TileEntity { NBTTagCompound nbt = new NBTTagCompound(); - nbt.setBoolean("apatitePresent", apatitePresent); + nbt.setBoolean("malachitePresent", malachitePresent); nbt.setBoolean("peridotPresent", peridotPresent); nbt.setBoolean("rubyPresent", rubyPresent); nbt.setBoolean("sapphirePresent", sapphirePresent); @@ -59,7 +59,7 @@ public class TileEntityAltar extends TileEntity { if (packet.actionType == 0) { - this.apatitePresent = packet.data.getBoolean("apatitePresent"); + this.malachitePresent = packet.data.getBoolean("malachitePresent"); this.peridotPresent = packet.data.getBoolean("peridotPresent"); this.rubyPresent = packet.data.getBoolean("rubyPresent"); this.sapphirePresent = packet.data.getBoolean("sapphirePresent"); @@ -90,7 +90,7 @@ public class TileEntityAltar extends TileEntity } else if (presentGem == 14) { - apatitePresent = state; + malachitePresent = state; } else if (presentGem == 15) { @@ -118,7 +118,7 @@ public class TileEntityAltar extends TileEntity } else if (presentGem == 14) { - return apatitePresent; + return malachitePresent; } else if (presentGem == 15) { @@ -132,7 +132,7 @@ public class TileEntityAltar extends TileEntity public boolean getAllPresent() { - if (rubyPresent && peridotPresent && topazPresent && tanzanitePresent && apatitePresent && sapphirePresent) + if (rubyPresent && peridotPresent && topazPresent && tanzanitePresent && malachitePresent && sapphirePresent) { return true; } diff --git a/resources/assets/biomesoplenty/lang/en_US.lang b/resources/assets/biomesoplenty/lang/en_US.lang index 426515c4c..42103a1ba 100644 --- a/resources/assets/biomesoplenty/lang/en_US.lang +++ b/resources/assets/biomesoplenty/lang/en_US.lang @@ -149,8 +149,8 @@ tile.bop.amethystOre.topazore.name=Topaz Ore tile.bop.amethystOre.topazblock.name=Block of Topaz tile.bop.amethystOre.tanzaniteore.name=Tanzanite Ore tile.bop.amethystOre.tanzaniteblock.name=Block of Tanzanite -tile.bop.amethystOre.apatiteore.name=Apatite Ore -tile.bop.amethystOre.apatiteblock.name=Block of Apatite +tile.bop.amethystOre.malachiteore.name=Malachite Ore +tile.bop.amethystOre.malachiteblock.name=Block of Malachite tile.bop.amethystOre.sapphireore.name=Sapphire Ore tile.bop.amethystOre.sapphireblock.name=Block of Sapphire @@ -322,7 +322,7 @@ item.bop.miscItems.ruby.name=Ruby item.bop.miscItems.peridot.name=Peridot item.bop.miscItems.topaz.name=Topaz item.bop.miscItems.tanzanite.name=Tanzanite -item.bop.miscItems.apatite.name=Apatite +item.bop.miscItems.malachite.name=Malachite item.bop.miscItems.sapphire.name=Sapphire item.bop.miscItems.ghastlysoul.name=Ghastly Soul diff --git a/resources/assets/biomesoplenty/textures/blocks/frameapatite.png b/resources/assets/biomesoplenty/textures/blocks/framemalachite.png similarity index 100% rename from resources/assets/biomesoplenty/textures/blocks/frameapatite.png rename to resources/assets/biomesoplenty/textures/blocks/framemalachite.png diff --git a/resources/assets/biomesoplenty/textures/blocks/lilypadgreen.png b/resources/assets/biomesoplenty/textures/blocks/lilypadgreen.png new file mode 100644 index 0000000000000000000000000000000000000000..78cec9cf5c1f4e4a70796afe038deee2b19630cc GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|KvkWdE{-7<{&y!Foc6SK})4Yu))Z`Rl!|fyT!^w(dOdj zlfirDGPEi@E*3oy&2fqG+#?CDM6n>*rAiKpzeIhVB%etHx07X4M)yDU=Xwzb W`kWigBrAZ9V(@hJb6Mw<&;$T4#bNRQ literal 0 HcmV?d00001 diff --git a/resources/assets/biomesoplenty/textures/blocks/lilypadteal.png b/resources/assets/biomesoplenty/textures/blocks/lilypadteal.png new file mode 100644 index 0000000000000000000000000000000000000000..086da64f97b6c162f7603c3a247359b6562f6ba4 GIT binary patch literal 266 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL8%hgh?3y^w370~qEv=}#LT=BJwMkFg)(D3 zQ$0gN_s>q|Kvk8VE{-7<{>ckC1-6C%>+e~3sD;s|IceV8`k4{J2E2z{B$+O2yj#qA zOo7=!;)vQQfeB1A+-5kc>}0yhkmBs{h{d#-!9&nTm_s;K+p6KF+m_9Rj58bq-YGB` zT%Yh%Yl2!t#RS<68(3HuoiuA$G=nj-DRG6sRt9EfhMMq|KvkWdE{-7<{>c(G2QGyFv!BAru3#w9#+AsfzIG3@`5ei_Kq`st$<-h?3hWDLS VUyI(ztOq)Z!PC{xWt~$(697BLR+9h# literal 0 HcmV?d00001 diff --git a/resources/assets/biomesoplenty/textures/blocks/apatiteblock.png b/resources/assets/biomesoplenty/textures/blocks/malachiteblock.png similarity index 100% rename from resources/assets/biomesoplenty/textures/blocks/apatiteblock.png rename to resources/assets/biomesoplenty/textures/blocks/malachiteblock.png diff --git a/resources/assets/biomesoplenty/textures/blocks/apatiteore.png b/resources/assets/biomesoplenty/textures/blocks/malachiteore.png similarity index 100% rename from resources/assets/biomesoplenty/textures/blocks/apatiteore.png rename to resources/assets/biomesoplenty/textures/blocks/malachiteore.png diff --git a/resources/assets/biomesoplenty/textures/items/apatite.png b/resources/assets/biomesoplenty/textures/items/malachite.png similarity index 100% rename from resources/assets/biomesoplenty/textures/items/apatite.png rename to resources/assets/biomesoplenty/textures/items/malachite.png