custom font and mods
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user