Localization of gui title elemets (#236)

This commit is contained in:
Ranzu authored and GitHub committed 2026-06-02 11:16:35 -04:00
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());
}