Custom background renderer support for mods

This commit is contained in:
Anuken
2021-09-17 21:20:16 -04:00
parent 263850624a
commit cdb12a381d
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -122,6 +122,8 @@ public class Rules{
public boolean borderDarkness = true;
/** special tags for additional info. */
public StringMap tags = new StringMap();
/** Name of callback to call for background rendering in mods; see Renderer#addCustomBackground. Runs last. */
public @Nullable String customBackgroundCallback;
/** path to background texture with extension (e.g. "sprites/space.png")*/
public @Nullable String backgroundTexture;
/** background texture move speed scaling - bigger numbers mean slower movement */