mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
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:
1 parent
5ac6f2289b
commit
85497cbf6e
1 file changed
+9
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user