Added FluidStack sensitive version for Fluid's localised name

Would be helpful for determining names for more complex FluidStacks (with tag compounds for example)
This commit is contained in:
ganymedes01 2014-06-18 15:26:14 +01:00
parent 5ac6f2289b
commit 85497cbf6e
1 changed files with 9 additions and 0 deletions

View File

@ -190,6 +190,15 @@ public class Fluid
/**
* Returns the localized name of this fluid.
*/
public String getLocalizedName(FluidStack stack)
{
return getLocalizedName();
}
/**
* Use the FluidStack sensitive version above
*/
@Deprecated
public String getLocalizedName()
{
String s = this.getUnlocalizedName();