From e9f1c83ff86bc7f51ea083e2bafaf5427692e1a5 Mon Sep 17 00:00:00 2001 From: LexManos Date: Thu, 4 Jul 2013 12:39:49 -0700 Subject: [PATCH] Mark old liquid system as deperated to be removed next Minecraft release. --- common/net/minecraftforge/liquids/IBlockLiquid.java | 1 + common/net/minecraftforge/liquids/ILiquid.java | 1 + common/net/minecraftforge/liquids/ILiquidTank.java | 1 + common/net/minecraftforge/liquids/ITankContainer.java | 2 +- common/net/minecraftforge/liquids/LiquidContainerData.java | 2 +- common/net/minecraftforge/liquids/LiquidContainerRegistry.java | 2 +- common/net/minecraftforge/liquids/LiquidDictionary.java | 1 + common/net/minecraftforge/liquids/LiquidEvent.java | 2 +- common/net/minecraftforge/liquids/LiquidStack.java | 1 + common/net/minecraftforge/liquids/LiquidTank.java | 1 + 10 files changed, 10 insertions(+), 4 deletions(-) diff --git a/common/net/minecraftforge/liquids/IBlockLiquid.java b/common/net/minecraftforge/liquids/IBlockLiquid.java index 5be422419..9569e6bd5 100644 --- a/common/net/minecraftforge/liquids/IBlockLiquid.java +++ b/common/net/minecraftforge/liquids/IBlockLiquid.java @@ -8,6 +8,7 @@ import net.minecraft.nbt.NBTTagCompound; * @author cpw * */ +@Deprecated //See new net.minecraftforge.fluids public interface IBlockLiquid extends ILiquid { /** * Controls the type of block that is generated by this IBlockLiquid diff --git a/common/net/minecraftforge/liquids/ILiquid.java b/common/net/minecraftforge/liquids/ILiquid.java index 91a8286ac..f7943b2ff 100644 --- a/common/net/minecraftforge/liquids/ILiquid.java +++ b/common/net/minecraftforge/liquids/ILiquid.java @@ -13,6 +13,7 @@ package net.minecraftforge.liquids; * Liquids implement this interface * */ +@Deprecated //See new net.minecraftforge.fluids public interface ILiquid { /** diff --git a/common/net/minecraftforge/liquids/ILiquidTank.java b/common/net/minecraftforge/liquids/ILiquidTank.java index 7c195d6b4..7bbb4c6d2 100644 --- a/common/net/minecraftforge/liquids/ILiquidTank.java +++ b/common/net/minecraftforge/liquids/ILiquidTank.java @@ -5,6 +5,7 @@ package net.minecraftforge.liquids; * * @author cpw */ +@Deprecated //See new net.minecraftforge.fluids public interface ILiquidTank { /** diff --git a/common/net/minecraftforge/liquids/ITankContainer.java b/common/net/minecraftforge/liquids/ITankContainer.java index 992d0e1fe..d9ace05ce 100644 --- a/common/net/minecraftforge/liquids/ITankContainer.java +++ b/common/net/minecraftforge/liquids/ITankContainer.java @@ -1,7 +1,7 @@ package net.minecraftforge.liquids; import net.minecraftforge.common.ForgeDirection; - +@Deprecated //See new net.minecraftforge.fluids public interface ITankContainer { /** diff --git a/common/net/minecraftforge/liquids/LiquidContainerData.java b/common/net/minecraftforge/liquids/LiquidContainerData.java index 4df6d6713..3b9e2fbc9 100644 --- a/common/net/minecraftforge/liquids/LiquidContainerData.java +++ b/common/net/minecraftforge/liquids/LiquidContainerData.java @@ -11,7 +11,7 @@ package net.minecraftforge.liquids; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; - +@Deprecated //See new net.minecraftforge.fluids public class LiquidContainerData { public final LiquidStack stillLiquid; diff --git a/common/net/minecraftforge/liquids/LiquidContainerRegistry.java b/common/net/minecraftforge/liquids/LiquidContainerRegistry.java index d539fb05d..ea4b5de8e 100644 --- a/common/net/minecraftforge/liquids/LiquidContainerRegistry.java +++ b/common/net/minecraftforge/liquids/LiquidContainerRegistry.java @@ -12,7 +12,7 @@ import java.util.Set; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; - +@Deprecated //See new net.minecraftforge.fluids public class LiquidContainerRegistry { public static final int BUCKET_VOLUME = 1000; diff --git a/common/net/minecraftforge/liquids/LiquidDictionary.java b/common/net/minecraftforge/liquids/LiquidDictionary.java index e0644b683..a7a5925af 100644 --- a/common/net/minecraftforge/liquids/LiquidDictionary.java +++ b/common/net/minecraftforge/liquids/LiquidDictionary.java @@ -16,6 +16,7 @@ import com.google.common.collect.ImmutableMap; * * @author CovertJaguar */ +@Deprecated //See new net.minecraftforge.fluids public abstract class LiquidDictionary { diff --git a/common/net/minecraftforge/liquids/LiquidEvent.java b/common/net/minecraftforge/liquids/LiquidEvent.java index 2c2ac7eec..1667f54a3 100644 --- a/common/net/minecraftforge/liquids/LiquidEvent.java +++ b/common/net/minecraftforge/liquids/LiquidEvent.java @@ -4,7 +4,7 @@ import net.minecraft.tileentity.TileEntity; import net.minecraft.world.World; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.Event; - +@Deprecated //See new net.minecraftforge.fluids public class LiquidEvent extends Event { public final LiquidStack liquid; public final int x; diff --git a/common/net/minecraftforge/liquids/LiquidStack.java b/common/net/minecraftforge/liquids/LiquidStack.java index c641c6cfd..881a10b6a 100644 --- a/common/net/minecraftforge/liquids/LiquidStack.java +++ b/common/net/minecraftforge/liquids/LiquidStack.java @@ -22,6 +22,7 @@ import net.minecraft.util.Icon; * * @author SirSengir */ +@Deprecated //See new net.minecraftforge.fluids public class LiquidStack { public final int itemID; diff --git a/common/net/minecraftforge/liquids/LiquidTank.java b/common/net/minecraftforge/liquids/LiquidTank.java index b9ed153b4..6832ef695 100644 --- a/common/net/minecraftforge/liquids/LiquidTank.java +++ b/common/net/minecraftforge/liquids/LiquidTank.java @@ -6,6 +6,7 @@ import net.minecraft.tileentity.TileEntity; /** * Reference implementation of ILiquidTank. Use this or implement your own. */ +@Deprecated //See new net.minecraftforge.fluids public class LiquidTank implements ILiquidTank { private LiquidStack liquid; private int capacity;