From 6d366c047520cbd46841610708e38cc5f9202d60 Mon Sep 17 00:00:00 2001 From: Aidan Brady Date: Thu, 16 Jan 2014 16:47:35 -0500 Subject: [PATCH] Brine Buckets! --- common/mekanism/common/Mekanism.java | 8 ++++++++ resources/assets/mekanism/lang/en_US.lang | 1 + .../mekanism/textures/items/BrineBucket.png | Bin 0 -> 1502 bytes 3 files changed, 9 insertions(+) create mode 100644 resources/assets/mekanism/textures/items/BrineBucket.png diff --git a/common/mekanism/common/Mekanism.java b/common/mekanism/common/Mekanism.java index 8eb497ce0..70eb4b6e1 100644 --- a/common/mekanism/common/Mekanism.java +++ b/common/mekanism/common/Mekanism.java @@ -116,6 +116,7 @@ import mekanism.common.util.MekanismUtils.ResourceType; import mekanism.common.voice.VoiceServerManager; import net.minecraft.block.Block; import net.minecraft.item.Item; +import net.minecraft.item.ItemBucket; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.CraftingManager; import net.minecraft.item.crafting.FurnaceRecipes; @@ -125,6 +126,7 @@ import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.ForgeSubscribe; import net.minecraftforge.event.world.ChunkEvent; import net.minecraftforge.fluids.Fluid; +import net.minecraftforge.fluids.FluidContainerRegistry; import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.oredict.OreDictionary; import net.minecraftforge.oredict.ShapelessOreRecipe; @@ -248,6 +250,7 @@ public class Mekanism public static Item CompressedRedstone; public static Item Sawdust; public static Item Salt; + public static Item BrineBucket; //Blocks public static Block BasicBlock; @@ -741,9 +744,13 @@ public class Mekanism CompressedRedstone = new ItemMekanism(configuration.getItem("CompressedRedstone", 11229).getInt()).setUnlocalizedName("CompressedRedstone"); Sawdust = new ItemMekanism(configuration.getItem("Sawdust", 11230).getInt()).setUnlocalizedName("Sawdust"); Salt = new ItemMekanism(configuration.getItem("Salt", 11231).getInt()).setUnlocalizedName("Salt"); + BrineBucket = new ItemMekanism(configuration.getItem("BrineBucket", 11232).getInt()).setUnlocalizedName("BrineBucket"); configuration.save(); + //Fluid Container stuff + FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluid("brine"), new ItemStack(BrineBucket), FluidContainerRegistry.EMPTY_BUCKET); + //Registrations GameRegistry.registerItem(ElectricBow, "ElectricBow"); GameRegistry.registerItem(Dust, "Dust"); @@ -776,6 +783,7 @@ public class Mekanism GameRegistry.registerItem(CompressedRedstone, "CompressedRedstone"); GameRegistry.registerItem(Sawdust, "Sawdust"); GameRegistry.registerItem(Salt, "Salt"); + GameRegistry.registerItem(BrineBucket, "BrineBucket"); } /** diff --git a/resources/assets/mekanism/lang/en_US.lang b/resources/assets/mekanism/lang/en_US.lang index b505e7dff..690762e5e 100644 --- a/resources/assets/mekanism/lang/en_US.lang +++ b/resources/assets/mekanism/lang/en_US.lang @@ -30,6 +30,7 @@ item.ElectrolyticCore.name=Electrolytic Core item.CompressedRedstone.name=Compressed Redstone item.Sawdust.name=Sawdust item.Salt.name=Salt +item.BrineBucket.name=Brine Bucket //Gas Tank tile.GasTank.GasTank.name=Gas Tank diff --git a/resources/assets/mekanism/textures/items/BrineBucket.png b/resources/assets/mekanism/textures/items/BrineBucket.png new file mode 100644 index 0000000000000000000000000000000000000000..0bc485addb1e4ec1662077c33b981e9873af4572 GIT binary patch literal 1502 zcmV<41tI#0P)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxD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