Skip to content

Commit

Permalink
Merge branch '1.20.2' into 1.20.4
Browse files Browse the repository at this point in the history
# Conflicts:
#	settings.gradle.kts
  • Loading branch information
rfresh2 committed Dec 13, 2024
2 parents aa72a74 + cebd27f commit 783d169
Show file tree
Hide file tree
Showing 19 changed files with 60 additions and 7 deletions.
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repositories {

dependencies {
implementation("architectury-plugin:architectury-plugin.gradle.plugin:3.4-SNAPSHOT")
implementation("dev.architectury:architectury-loom:1.7-SNAPSHOT")
implementation("dev.architectury:architectury-loom:1.9-SNAPSHOT")
implementation("com.gradleup.shadow:shadow-gradle-plugin:8.3.5")
}

Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ public int getMinimapRegionWindowSize() {
@Override
public void handleTick() {
if (!worldCacheInitialized) return;
if (XaeroWorldMapCore.currentSession == null) return;
// limit so we don't overflow
if (tickCounter > 2400) tickCounter = 0;
if (tickCounter++ % 30 != 0) { // run once every 1.5 seconds
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package xaeroplus.mixin.client;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import xaero.common.gui.GuiAddWaypoint;
import xaeroplus.settings.Settings;

@Mixin(value = GuiAddWaypoint.class, remap = false)
public class MixinGuiAddWaypoint {
@ModifyExpressionValue(
method = "checkFields",
at = @At(
value = "CONSTANT",
args = "intValue=2"
)
)
public int allowLongerInitials(int original) {
return Settings.REGISTRY.longWaypointInitials.get()
? 100
: original;
}
}
6 changes: 6 additions & 0 deletions common/src/main/java/xaeroplus/settings/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,12 @@ public String getTranslationKey() {
"xaeroplus.setting.waypoint_eta",
false),
SettingLocation.MINIMAP_WAYPOINTS);
public final BooleanSetting longWaypointInitials = register(
BooleanSetting.create(
"Long Waypoint Initials",
"xaeroplus.setting.allow_longer_waypoint_initials",
false),
SettingLocation.MINIMAP_WAYPOINTS);
public final BooleanSetting disableWaypointSharing = register(
BooleanSetting.create(
"Disable Waypoint Sharing",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Sets the minimum xz distance from the player the waypoint must be to render a beacon.",
"xaeroplus.setting.waypoint_eta": "Waypoint Distance ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "Renders the estimated time of arrival on waypoint distance text. The ETA is based on the player's current speed and movement direction",
"xaeroplus.setting.allow_longer_waypoint_initials": "Long Waypoint Initials",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Removes the 2 character size limit when editing waypoint initials",
"xaeroplus.setting.disable_internet": "Disable Xaero Internet Access",
"xaeroplus.setting.disable_internet.tooltip": "Disables WorldMap and Minimap mods from using the internet to check for updates and patreon subscriptions at launch.\n Xaero mods do not expose this setting in the GUI normally.\n XaeroPlus does not use the internet regardless of this setting.",
"xaeroplus.setting.radar_hide_invisible_entities": "Hide Invisible Entities",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/es_ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Establece la distancia xz mínima desde el jugador donde el waypoint debe estar para mostrar un Beacon (faro).",
"xaeroplus.setting.waypoint_eta": "Distancia del Punto de Referencia ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "Muestra el tiempo estimado de llegada en el texto de distancia del punto de referencia. El ETA se basa en la velocidad y dirección de movimiento actuales del jugador",
"xaeroplus.setting.allow_longer_waypoint_initials": "Iniciales de punto de referencia más largas",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Elimina el límite de 2 caracteres al editar las iniciales del punto de referencia",
"xaeroplus.setting.disable_internet": "Deshabilitar el acceso a Internet de Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Desactiva el uso de Internet de las modificaciones de WorldMap y Minimap para buscar actualizaciones y suscripciones a Patreon en el momento del lanzamiento.\n Los mods de Xaero normalmente no exponen esta configuración en la GUI.\n XaeroPlus no utiliza Internet independientemente de esta configuración.",
"xaeroplus.setting.radar_hide_invisible_entities": "Ocultar entidades invisibles",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/fr_ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Définit la distance xz minimale du joueur à laquelle le point de passage doit se trouver pour qu'une balise soit affichée.",
"xaeroplus.setting.waypoint_eta": "Distance du Point de Passage ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "Affiche l'heure d'arrivée estimée sur le texte de distance du point de passage. L'ETA est basé sur la vitesse et la direction de déplacement actuelles du joueur",
"xaeroplus.setting.allow_longer_waypoint_initials": "Initiales de point de repère plus longues",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Supprime la limite de 2 caractères lors de la modification des initiales des points de repère",
"xaeroplus.setting.disable_internet": "Désactiver l'accès Internet Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Empêche les mods WorldMap et Minimap d'utiliser Internet pour vérifier les mises à jour et les abonnements Patreon au lancement.\n Les mods Xaero n'exposent pas normalement ce paramètre dans l'interface graphique.\n XaeroPlus n'utilise pas Internet quel que soit ce paramètre.",
"xaeroplus.setting.radar_hide_invisible_entities": "Masquer les entités invisibles",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/fr_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Définit la distance xz minimale du joueur à laquelle le point de passage doit se trouver pour qu'une balise soit affichée.",
"xaeroplus.setting.waypoint_eta": "Distance du Point de Passage ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "Affiche l'heure d'arrivée estimée sur le texte de distance du point de passage. L'ETA est basé sur la vitesse et la direction de déplacement actuelles du joueur",
"xaeroplus.setting.allow_longer_waypoint_initials": "Initiales de point de repère plus longues",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Supprime la limite de 2 caractères lors de la modification des initiales des points de repère",
"xaeroplus.setting.disable_internet": "Désactiver l'accès Internet Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Empêche les mods WorldMap et Minimap d'utiliser Internet pour vérifier les mises à jour et les abonnements Patreon au lancement.\n Les mods Xaero n'exposent pas normalement ce paramètre dans l'interface graphique.\n XaeroPlus n'utilise pas Internet quel que soit ce paramètre.",
"xaeroplus.setting.radar_hide_invisible_entities": "Masquer les entités invisibles",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/ja_jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "ビーコンをレンダリングするために、ウェイポイントがプレイヤーからxzの最小距離を設定します。",
"xaeroplus.setting.waypoint_eta": "ウェイポイント距離のETA",
"xaeroplus.setting.waypoint_eta.tooltip": "プレイヤーの現在の速度と移動方向に基づいて、ウェイポイントの距離に推定到着時刻を表示します",
"xaeroplus.setting.allow_longer_waypoint_initials": "長いウェイポイントの頭文字を許可",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "ウェイポイントの頭文字を編集する際の2文字制限を解除します",
"xaeroplus.setting.disable_internet": "Xaeroのインターネットアクセスを無効にする",
"xaeroplus.setting.disable_internet.tooltip": "WorldMapとMinimapのMODが起動時にインターネットを使用してアップデートとパトロン購読をチェックするのを無効にします。\nXaeroのMODは通常GUIでこの設定を公開しません。\nXaeroPlusはこの設定に関係なくインターネットを使用しません。",
"xaeroplus.setting.radar_hide_invisible_entities": "透明なエンティティを非表示",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/pl_pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Ustawia minimalny dystans na osiach xz od gracza, w której musi znajdować się punkt nawigacyjny, aby wyrenderować beacon.",
"xaeroplus.setting.waypoint_eta": "ETA Dystansu do Punktu",
"xaeroplus.setting.waypoint_eta.tooltip": "Wyświetla szacowany czas przybycia na tekście odległości do punktu. ETA opiera się na obecnej prędkości i kierunku ruchu gracza",
"xaeroplus.setting.allow_longer_waypoint_initials": "Dłuższe inicjały punktów orientacyjnych",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Usuwa limit 2 znaków podczas edycji inicjałów punktów orientacyjnych",
"xaeroplus.setting.disable_internet": "Wyłącz dostęp do Internetu Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Wyłącza modom WorldMap i Minimap korzystanie z Internetu w celu sprawdzania dostępności aktualizacji i subskrypcji Patreona przy uruchomieniu.\n Mody Xaero normalnie nie udostępniają tego ustawienia w GUI.\n XaeroPlus nie korzysta z Internetu niezależnie od tego ustawienia.",
"xaeroplus.setting.radar_hide_invisible_entities": "Ukryj niewidzialne jednostki",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/pt_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Define a distância xz mínima entre o jogador e a localização para renderizar o sinalizador.",
"xaeroplus.setting.waypoint_eta": "ETA da Distância do Ponto de Referência",
"xaeroplus.setting.waypoint_eta.tooltip": "Exibe o tempo estimado de chegada no texto de distância do ponto de referência. O ETA é baseado na velocidade e direção de movimento atuais do jogador",
"xaeroplus.setting.allow_longer_waypoint_initials": "Iniciais de ponto de referência mais longas",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Remove o limite de 2 caracteres ao editar as iniciais do ponto de referência",
"xaeroplus.setting.disable_internet": "Desati. Acesso à Internet ao Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Desativa o acesso à Internet para verificação de atualizações ou subscrição do Patreon dos mods do mapa-mundo e mini-mapa. \n Normalmente os mods Xaero não mostram esta configuração no GUI. \n O XaeroPlus não usa a Internet independentemente desta definição.",
"xaeroplus.setting.radar_hide_invisible_entities": "Ocultar entidades invisíveis",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/ru_ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Задает минимальное расстояние xz от игрока, на котором должна находиться путевая точка для отображения маяка.",
"xaeroplus.setting.waypoint_eta": "ETA расстояния до точки",
"xaeroplus.setting.waypoint_eta.tooltip": "Отображает расчетное время прибытия на тексте расстояния до точки. ETA основано на текущей скорости и направлении движения игрока",
"xaeroplus.setting.allow_longer_waypoint_initials": "Более длинные инициалы путевых точек",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Убирает ограничение в 2 символа при редактировании инициалов путевых точек",
"xaeroplus.setting.disable_internet": "Отключить доступ Xaero в Интернет",
"xaeroplus.setting.disable_internet.tooltip": "Отключает модам WorldMap и Minimap использование Интернета для проверки обновлений и подписок на Patreon при запуске.\n Моды Xaero обычно не отображают этот параметр в графическом интерфейсе.\n XaeroPlus не использует Интернет независимо от этой настройки.",
"xaeroplus.setting.radar_hide_invisible_entities": "Скрыть невидимые сущности",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/vi_vn.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "Thiết lập khoảng cách xz tối thiểu từ người chơi mà điểm đến phải có để hiển thị đèn hiệu.",
"xaeroplus.setting.waypoint_eta": "Khoảng cách đến Điểm Đường ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "Hiển thị thời gian đến ước tính trên văn bản khoảng cách đến điểm đường. ETA dựa trên tốc độ và hướng di chuyển hiện tại của người chơi",
"xaeroplus.setting.allow_longer_waypoint_initials": "Chữ viết tắt điểm tham chiếu dài hơn",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "Loại bỏ giới hạn 2 ký tự khi chỉnh sửa chữ viết tắt điểm tham chiếu",
"xaeroplus.setting.disable_internet": "Vô Hiệu Hóa Truy Cập Internet Xaero",
"xaeroplus.setting.disable_internet.tooltip": "Vô hiệu hóa các mod WorldMap và Minimap từ việc sử dụng internet để kiểm tra cập nhật và đăng ký patreon khi khởi động.\n Các mod Xaero không hiển thị cài đặt này trong giao diện người dùng bình thường.\n XaeroPlus không sử dụng internet bất kể cài đặt này.",
"xaeroplus.setting.radar_hide_invisible_entities": "Ẩn thực thể vô hình",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "设置将路径点渲染为信标所需的最短水平距离。",
"xaeroplus.setting.waypoint_eta": "航点距离 ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "在航点距离文本上显示预计到达时间。ETA 基于玩家当前的速度和移动方向",
"xaeroplus.setting.allow_longer_waypoint_initials": "允许更长的航点缩写",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "移除编辑航点缩写时的2字符限制",
"xaeroplus.setting.disable_internet": "禁用 Xaero 互联网访问",
"xaeroplus.setting.disable_internet.tooltip": "禁止 WorldMap 和 Minimap mods 在启动时使用互联网检查更新和 patreon 订阅。\n Xaero mods 通常不会在 GUI 中公开此设置。\n 无论此设置如何,XaeroPlus 都不会使用互联网。",
"xaeroplus.setting.radar_hide_invisible_entities": "隐藏隐形实体",
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/xaeroplus/lang/zh_tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@
"xaeroplus.setting.waypoint_beacon_distance_min.tooltip": "設定定位點必須與玩家的最小 xz 距離才能渲染信標。",
"xaeroplus.setting.waypoint_eta": "航點距離 ETA",
"xaeroplus.setting.waypoint_eta.tooltip": "在航點距離文本上顯示預計到達時間。ETA 基於玩家當前的速度和移動方向",
"xaeroplus.setting.allow_longer_waypoint_initials": "允許更長的航點縮寫",
"xaeroplus.setting.allow_longer_waypoint_initials.tooltip": "移除編輯航點縮寫時的2字符限制",
"xaeroplus.setting.disable_internet": "停用 Xaero 網際網路存取",
"xaeroplus.setting.disable_internet.tooltip": "停用世界地圖和小地圖模組在啟動時使用網際網路檢查更新和 Patreon 訂閱。\n Xaero 模組通常不會在介面中公開此設定。\n 無論此設定如何,XaeroPlus 都不会使用網際網路。",
"xaeroplus.setting.radar_hide_invisible_entities": "隱藏隱形實體",
Expand Down
1 change: 1 addition & 0 deletions common/src/main/resources/xaeroplus.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"MixinControlsHandler",
"MixinCrashHandler",
"MixinDimensionHighlighterHandler",
"MixinGuiAddWaypoint",
"MixinGuiEntityRadarSettings",
"MixinGuiMap",
"MixinGuiMinimapMain",
Expand Down
2 changes: 1 addition & 1 deletion forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies {
modCompileOnly(libs.fabric.waystones)
modCompileOnly(libs.embeddium)
shadow(libs.sqlite)
implementation(include(libs.oldbiomes.get())!!)
forgeRuntimeLibrary(implementation(include(libs.oldbiomes.get())!!)!!)
forgeRuntimeLibrary(implementation(include(libs.caffeine.get())!!)!!)
forgeRuntimeLibrary(implementation(include(libs.lambdaEvents.get())!!)!!)
compileOnly(project(":common"))
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ pluginManagement {
}
}
gradle.extra.apply {
set("mod_version", "2.24.7")
set("mod_version", "2.24.8")
set("minecraft_version", "1.20.4")
set("parchment_version", "2024.02.25")
set("worldmap_version_fabric", "1.39.0")
set("worldmap_version_fabric", "1.39.2")
set("minimap_version_fabric", "24.6.1")
set("worldmap_version_forge", "1.39.0")
set("worldmap_version_forge", "1.39.2")
set("minimap_version_forge", "24.6.1")
set("worldmap_version_neo", "1.39.0")
set("worldmap_version_neo", "1.39.2")
set("minimap_version_neo", "24.6.1")
}

Expand Down

0 comments on commit 783d169

Please sign in to comment.