Cycle Paintings (Fabric)

Cycle Paintings (Fabric)

32.8k Downloads

The world border keeps thinking the player is outside of the border

Dormant11 opened this issue ยท 1 comments

commented

Forge 1.20.1, Here is my config optinos:

{
	// When enabled, uses the overworldBorderCoords to set the border.
	"enableCustomOverworldBorder": true,
	// When enabled, uses the netherBorderCoords to set the border.
	"enableCustomNetherBorder": false,
	// When enabled, uses the endBorderCoords to set the border.
	"enableCustomEndBorder": false,
	// When enabled, instead of teleporting the player inside near where they were, teleports them from the positive to the negative x/z coord and vice versa.
	"shouldLoopToOppositeBorder": false, //<--- CHANGE THIS LATER
	// The amount of blocks the player is teleported inside after hitting the border.
	// min: 0, max: 1000
	"distanceTeleportedBack": 10,
	// The message which will be sent to the player when they are within 'distanceTeleportedBack' to the world border.
	"nearBorderMessage": "You're getting close to the world border!",
	// The message which will be sent to the player when they hit the world border.
	"hitBorderMessage": "You've hit the world border, and were teleported inside!",
	// The message sent to the player when they hit the border and 'shouldLoopToOppositeBorder' is enabled.
	"loopBorderMessage": "You've hit the world border, and have looped around the world!",
	// The overworld border located at the positive x coordinate.
	// min: 0, max: 100000
	"overworldBorderPositiveX": 30719,
	// The overworld border located at the negative x coordinate.
	// min: -100000, max: 0
	"overworldBorderNegativeX": 0,
	// The overworld border located at the positive z coordinate.
	// min: 0, max: 100000
	"overworldBorderPositiveZ": 0,
	// The overworld border located at the negative z coordinate.
	// min: -100000, max: 0

So I wanted the world border to be a rectangle because I am using a earth map, the problem is that the mod assumes the world border is centered at 0 0, there is no option to center it some where else (that is what I think the problem is).

Here is a cord map of how I want the rectangle world border is :

Top Left     0      0
Top Right    30719  0
Bottom Left  0      15871
Bottom Right 30719  15871

Top Left =     North West =  -X +Z
Top RIght =    North East =  +X +Z
Bottom Left =  South West =  -X -Z
Bottom Right = South East =  +X -Z
commented

in chat it spams "You've hit the world border, and were teleported inside!" and if I turn on shouldLoopToOppositeBorder" then it spams in chat "loopBorderMessage": "You've hit the world border, and have looped around the world!".