▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Mentalitys | MR Portal
Mentalitys | MR Portal

Mentalitys | MR Portal

MR Portal is a mod inspired by the game Magic Rampage. It adds a portal staff for saving waypoints and instant travel through black portals. Portals are visible to other players, and mobs and other players can pass through the

Оцените первым
243
0
Все версии→Mentalitys | MR-portal 1.8.0

Mentalitys | MR-portal 1.8.0

Release24.03.2026

Список изменений

Changelog 1.8.0

New Features

  • Customizable Portal Vertical Offset: The new portalVerticalOffset parameter (default 0.0) allows you to raise or lower the portal relative to its default position. Range: -2.0 to 5.0.
  • Portal Animation Speed: The new portalAnimationSpeed parameter (default 1.0) is a multiplier for the opening and closing speed of the portal. 2.0 = twice as fast, 0.5 = half as slow. Range: 0.1 to 5.0.

Fixes

  • Mod language setting changed the entire Minecraft interface: Previously, selecting a language in the mod settings (en / ru) changed the global Minecraft language and reloaded all resources. Now the mod language works completely independently – it only affects the mod's text (GUI, tooltips, messages), without affecting the rest of the game interface.

Updated default values

  • portalActiveTicks: 60 → 100
  • portalScale: 1.2 → 1.5
  • portalSpawnDistance: 2.0 → 2.2

Optimizations

  • Configuration is cached in local variables when processing network packets instead of repeatedly calling MRPortalConfigManager.get().

Technical changes

  • Created a utility class ModTranslation (com.mentality.mrportal.util), which loads mod translation files from resources and provides a get(key, args...) method. In auto mode, it returns Component.translatable(); in en/ru mode, it returns Component.literal() with the substituted translation.
  • All calls to Component.translatable() in mod GUIs and messages have been replaced with ModTranslation.get(): WaypointScreen, MRPortalConfigScreen, PendingTeleportManager, MRPortalNetworking, PortalStaffItem, TeleportScrollItem.
  • The applyLanguage() method has been removed from MRPortalConfigScreen, which called minecraft.getLanguageManager().setSelected() and reloadResourcePacks().
  • The VERTICAL_PORTAL_OFFSET constant in PendingTeleportManager has been replaced with the dynamic verticalOffset(config) method, which takes portalVerticalOffset from the config into account.
  • Animation speed (animSpeed) is transmitted via portal creation network packets to the client, where it scales SPARK_DURATION and CLOSE_DURATION.

Changed files

  • src/main/java/com/mentality/mrportal/config/MRPortalConfig.java
  • src/main/java/com/mentality/mrportal/portal/PendingTeleportManager.java
  • src/main/java/com/mentality/mrportal/network/MRPortalNetworking.java
  • src/main/java/com/mentality/mrportal/item/PortalStaffItem.java
  • src/main/java/com/mentality/mrportal/item/TeleportScrollItem.java
  • src/client/java/com/mentality/mrportal/client/render/ClientPortalEffectManager.java
  • src/client/java/com/mentality/mrportal/client/network/MRPortalClientNetworking.java
  • src/client/java/com/mentality/mrportal/client/screen/MRPortalConfigScreen.java
  • src/client/java/com/mentality/mrportal/client/screen/WaypointScreen.java
  • src/main/resources/assets/mr_portal/lang/en_us.json
  • src/main/resources/assets/mr_portal/lang/ru_ru.json
  • gradle.properties

New files

  • src/main/java/com/mentality/mrportal/util/ModTranslation.java

Файлы

mr-portal-1.8.0.jar(86.90 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.8.0

Загрузчики

Fabric

Версии игры

1.20.1

Загрузок

8

Дата публикации

24.03.2026

Загрузил

ID версии

Главная