Files
TFG/patches/0002-Add-blazemap-config.patch
2026-03-23 10:20:14 +01:00

79 lines
2.3 KiB
Diff

From 7eb9a3842e741c4786f6a95a82cdff0df4aa045b Mon Sep 17 00:00:00 2001
From: Jika <vandechat@tutanota.com>
Date: Sat, 13 Sep 2025 12:53:34 +0200
Subject: [PATCH 2/9] Add blazemap config
---
config/blazemap-client.toml | 52 +++++
kubejs/server_scripts/main_server_script.js | 6 +-
.../server_scripts/storagedrawers/recipes.js | 66 ++++++
kubejs/server_scripts/storagedrawers/tags.js | 13 ++
pakku-lock.json | 193 ++++++++++++++++++
pakku.json | 12 +-
6 files changed, 339 insertions(+), 3 deletions(-)
create mode 100644 config/blazemap-client.toml
create mode 100644 kubejs/server_scripts/storagedrawers/recipes.js
create mode 100644 kubejs/server_scripts/storagedrawers/tags.js
diff --git a/config/blazemap-client.toml b/config/blazemap-client.toml
new file mode 100644
index 00000000..25dd627c
--- /dev/null
+++ b/config/blazemap-client.toml
@@ -0,0 +1,52 @@
+[general]
+ #Enable debug mode?
+ enableDebug = false
+
+#Enable or disable (un)desired features
+[clientFeatures]
+ #Enables current coordinates to render under minimap
+ displayCoords = true
+ #Enables markers showing the location of nearby friendly mobs
+ displayFriendlyMobs = true
+ #Enables markers showing the location of nearby hostile mobs
+ displayHostileMobs = true
+ #Enables markers showing the location of other players
+ displayOtherPlayers = true
+ #Enables waypoints to be shown on the map itself
+ displayWaypointsOnMap = true
+ #Enables waypoints to be rendered in the world
+ renderWaypointsInWorld = false
+
+[worldmap]
+ #List of disabled Layers, comma separated
+ activeMap = "cartography:temperature"
+ #List of disabled Layers, comma separated
+ disabledLayers = []
+ #Zoom level. Must be a power of 2
+ #Range: 0.125 ~ 8.0
+ zoom = 4.0
+
+[minimap]
+ #List of disabled Layers, comma separated
+ activeMap = "blazemap:aerial_view"
+ #List of disabled Layers, comma separated
+ disabledLayers = []
+ #Zoom level. Must be a power of 2
+ #Range: 0.5 ~ 8.0
+ zoom = 1.0
+ #Enable the minimap?
+ enabled = false
+ #Minimap horizontal position on screen
+ #Range: 0 ~ 16000
+ positionX = 15
+ #Minimap vertical position on screen
+ #Range: 0 ~ 9000
+ positionY = 15
+ #Minimap widget width
+ #Range: 128 ~ 1600
+ width = 256
+ #Minimap widget height
+ #Range: 128 ~ 1600
+ height = 256
+
+
--
2.51.1.dirty