custom font and mods

This commit is contained in:
2025-03-17 23:22:50 +01:00
parent 42bb2b534b
commit 03a3914dff
7 changed files with 47 additions and 0 deletions
@@ -0,0 +1,9 @@
package org.saturnclient.saturnmods;
import org.saturnclient.saturnmods.mods.Coordinates;
public class ModManager {
public static SaturnMod[] MODS = {
new Coordinates()
};
}
@@ -0,0 +1,11 @@
package org.saturnclient.saturnmods;
public interface SaturnMod {
public static boolean enabled = false;
default public boolean isEnabled() {
return enabled;
}
public String getName();
}
@@ -0,0 +1,9 @@
package org.saturnclient.saturnmods.mods;
import org.saturnclient.saturnmods.SaturnMod;
public class Coordinates implements SaturnMod {
public String getName() {
return "Coords";
}
}
@@ -0,0 +1,3 @@
{
"saturnclient:panton": "saturnclient:font/panton"
}
@@ -0,0 +1,3 @@
This font was designed by Ivan Petrov and published by Fontfabric.
The panton font is the regular version of: https://www.dafont.com/panton.font
@@ -0,0 +1,12 @@
{
"providers": [
{
"type": "ttf",
"file": "saturnclient:panton.ttf",
"shift": [0, 0],
"size": 9,
"oversample": 5.0,
"skip_missing": false
}
]
}