mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 19:15:32 +00:00
Adds getLocalizedName and getUnlocalizedName to FluidStack
This commit is contained in:
1 parent
27d5dc0a25
commit
ff2696dff8
2 files changed
+18
No files matched your search
@@ -205,6 +205,14 @@ public class Fluid
|
||||
return s == null ? "" : StatCollector.translateToLocal(s);
|
||||
}
|
||||
|
||||
/**
|
||||
* A FluidStack sensitive version of getUnlocalizedName
|
||||
*/
|
||||
public String getUnlocalizedName(FluidStack stack)
|
||||
{
|
||||
return this.getUnlocalizedName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the unlocalized name of this fluid.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user