
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
Список изменений
Changelog 1.6.0
New Features
- Teleportation of mobs and other players: Any entity (mobs, animals, other players) entering an active portal is teleported to the destination. The portal now works for everyone, not just the owner. This works both on the server and in single-player.
- Preview spark visible to other players: When a player opens the point selection screen and a spark appears, other players nearby (64 blocks) also see it. The spark disappears when the screen is closed or when teleported.
Technical Changes
- PendingTeleportManager: Added the
teleportNearbyEntities()method — scans the portal's AABB zones and teleports all entities other than the owner through the portal. Tracking of already teleported entities is now possible viaMap<UUID, Set<UUID>> teleportedEntities. - MRPortalNetworking: AddedPREVIEW_SPARK_S2C,PREVIEW_SPARK_REMOVE_S2C,SCREEN_CLOSED_C2Spackages. Server-side tracking of active sparks viaactivePreviewSparks/activePreviewDimensions.broadcastPreviewSpark()andremovePreviewSpark()methods. - ClientPortalEffectManager: Added
remoteSparksmap for displaying sparks from other players.showRemoteSpark()andhideRemoteSpark()methods. Render and tick remote sparks. - MRPortalClientNetworking: PREVIEW_SPARK_S2C and PREVIEW_SPARK_REMOVE_S2C handlers.
sendScreenClosed()method. - WaypointScreen: When the screen closes, sends
SCREEN_CLOSED_C2Sto the server. - fabric.mod.json: updated source code link → https://github.com/sapexzzz/MR-portal
Changed files
- src/main/java/com/mentality/mrportal/portal/PendingTeleportManager.java
- src/main/java/com/mentality/mrportal/network/MRPortalNetworking.java
- src/client/java/com/mentality/mrportal/client/render/ClientPortalEffectManager.java
- src/client/java/com/mentality/mrportal/client/screen/MRPortalClientNetworking.java
- src/client/java/com/mentality/mrportal/client/screen/WaypointScreen.java
- src/main/resources/fabric.mod.json
- gradle.properties
Файлы
mr-portal-1.6.0.jar(77.51 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6.0
Загрузчики
Fabric
Версии игры
1.20.1
Загрузок
10
Дата публикации
24.03.2026
