You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can find a ready-to-use integration example in the `examples` directory.
52
+
### What you can do through these services:
49
53
50
-
What you can do through these services:
51
-
- Get the advertised distance for a player with `FakeChunkService#getAdvertisedDistance(UUID)`.
52
-
- Apply or override player distance with `FakeChunkService#applyDistancePreference(Player, int)`.
53
-
- Trigger fake-chunk refresh for changed chunks with `FakeChunkService#handleRealChunkInteraction(World, int, int)` or `FakeChunkService#handleRealChunkInteraction(UUID, int, int)`.
54
-
- Read runtime config with `ConfigService#get()`.
55
-
- Check feature flags from config like `fakeChunksEnabledForWorld(worldName)` and `farPlayersEnabled()`.
54
+
-**Override view distance:** Set a custom radius for specific players dynamically.
-**Read configuration:** Access world rules, safe factors, and far-player settings dynamically via `configFacade.get()`.
67
+
-**Track Far Players:** ExtendedHorizons natively syncs far players. You can read the `trackedFarPlayers()` from a `PlayerSession` to see exactly which entities are being simulated locally.
Copy file name to clipboardExpand all lines: examples/eh-injector-test-plugin/src/main/java/me/mapacheee/examples/ehinjectortest/EhInjectorTestPlugin.java
0 commit comments