MCPcopy Index your code
hub / github.com/Lauriethefish/BetterPortals

github.com/Lauriethefish/BetterPortals @0.59

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.59 ↗ · + Follow
302 symbols 866 edges 40 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BetterPortals

BetterPortals is a minecraft spigot plugin which allows you to see through nether portals to look at the blocks on the other side.

It is intended to provide an experience similar to the BetterPortals mod, but as a spigot plugin, so that the users don't need to install anything. It also has the advantage of far greater performance, although it can still lag the server if you set the render distance too high.

This plugin is quite configurable, if you wish to change the size and nature of the portal effect you can

Spigot Page

Benefits

  • Since this is a plugin, players don't need to install a mod on the client side
  • While it does still cause some lag, it is overall much faster than the BetterPortals mod

Upcoming Features

  • Lag compensation to make it work better for players with higher ping

Limitations

  • BetterPortals essentially just changes the blocks in the player's view through the portal. Because of this is is more of an illusion.
  • It is currently unusable for players with high ping, as they just see the blocks on the other side of the portal if they move too quickly
  • There is still a loading screen when moving between worlds. This could be removed with the WorldChangeScreenRemover plugin

Extension points exported contracts — how you extend this code

MultiBlockChangeManager (Interface)
(no doc) [3 implementers]
src/main/java/com/lauriethefish/betterportals/multiblockchange/MultiBlockChangeManager.java
BlockRotator (Interface)
(no doc) [2 implementers]
src/main/java/com/lauriethefish/betterportals/BlockRotator.java

Core symbols most depended-on inside this repo

setField
called by 37
src/main/java/com/lauriethefish/betterportals/ReflectUtils.java
newInstance
called by 33
src/main/java/com/lauriethefish/betterportals/ReflectUtils.java
getMcClass
called by 32
src/main/java/com/lauriethefish/betterportals/ReflectUtils.java
runMethod
called by 29
src/main/java/com/lauriethefish/betterportals/ReflectUtils.java
toVector
called by 25
src/main/java/com/lauriethefish/betterportals/portal/PortalDirection.java
sendPacket
called by 17
src/main/java/com/lauriethefish/betterportals/entitymanipulation/EntityManipulator.java
equals
called by 16
src/main/java/com/lauriethefish/betterportals/multiblockchange/SectionPosition.java
swapVector
called by 16
src/main/java/com/lauriethefish/betterportals/portal/PortalDirection.java

Shape

Method 260
Class 39
Interface 2
Enum 1

Languages

Java100%

Modules by API surface

src/main/java/com/lauriethefish/betterportals/entitymanipulation/EntityManipulator.java32 symbols
src/main/java/com/lauriethefish/betterportals/ReflectUtils.java24 symbols
src/main/java/com/lauriethefish/betterportals/BetterPortals.java21 symbols
src/main/java/com/lauriethefish/betterportals/portal/Portal.java20 symbols
src/main/java/com/lauriethefish/betterportals/portal/PortalSpawnSystem.java13 symbols
src/main/java/com/lauriethefish/betterportals/selection/PortalSelection.java12 symbols
src/main/java/com/lauriethefish/betterportals/portal/PortalStorage.java11 symbols
src/main/java/com/lauriethefish/betterportals/multiblockchange/ChunkCoordIntPair.java10 symbols
src/main/java/com/lauriethefish/betterportals/math/MathUtils.java10 symbols
src/main/java/com/lauriethefish/betterportals/Config.java9 symbols
src/main/java/com/lauriethefish/betterportals/runnables/MainUpdate.java8 symbols
src/main/java/com/lauriethefish/betterportals/portal/PortalDirection.java8 symbols

For agents

$ claude mcp add BetterPortals \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact