mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-27 15:33:06 +00:00
Localization of gui title elemets (#236)
This commit is contained in:
1 parent
48e30828cf
commit
5b8810633b
4 files changed
+17
-2
No files matched your search
@@ -44,6 +44,10 @@ public class BlockItemBuffer extends ItemBlockWithMetadata {
|
||||
return "tile." + ModObject.blockBuffer.unlocalisedName + "." + name().toLowerCase(Locale.US);
|
||||
}
|
||||
|
||||
public String getGuiUnlocalizedName() {
|
||||
return "enderio.gui." + ModObject.blockBuffer.unlocalisedName + "." + name().toLowerCase(Locale.US);
|
||||
}
|
||||
|
||||
public static ItemStack getStack(Type type) {
|
||||
return new ItemStack(EnderIO.blockBuffer, 1, type.ordinal());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user