PercyDan54 / BorderRemover

A Minecraft mod for removing the 30,000,000 block limit and (optionally) brings back the farlands
26 stars 6 forks source link

Fix Crashing after 2^32 #16

Open rice7th opened 1 year ago

rice7th commented 1 year ago

Type

Crash to desktop

Bug description

I Realized that this mod enables you to go up to 2^32 blocks out, but at that point the game crashes as soon as it reaches the chunks outside said value.

I've seen some mods get past this by enabling the user to go up to the 2^64 bit integer limit in blocks, so would it be possible to expand the range?

I am investigating an issue on the end generation bug that is basically the modern vanilla farlands, in the sense that this behavior happens at a fixed points and it is a terrain generation issue, the weird thing however is that the farther you got the MUCH weirder it gets. As such, I was hoping to use this mod to go around 2^35 (34359738336) blocks AT LEAST, so making the transition to 64 bit would benefit everyone.

Screenshots or videos

No response

Minecraft Version

1.20.1

PercyDan54 commented 1 year ago

Not quite possible or very hard afaik. All the 64bit mods I see are jar mods because there are too many changes and it's hard or impossible to write Mixins for these.

rice7th commented 1 year ago

Well that is sad. Anyways, I've recently found out that there is a mod which is even more powerful since it replaces most of the ints and floats with BigInt and BigDecimal. It is yes a jar, but for 1.3. Seeing such a mod for 1.20 (or really any 1.16+) would be hard, but also awesome.

PercyDan54 commented 1 year ago

Well that is sad. Anyways, I've recently found out that there is a mod which is even more powerful since it replaces most of the ints and floats with BigInt and BigDecimal. It is yes a jar, but for 1.3. Seeing such a mod for 1.20 (or really any 1.16+) would be hard, but also awesome.

For your purpose of exploring the end beyond integer limit maybe it is possible if #14 is solved

PercyDan54 commented 1 year ago

@rice7th Maybe a good news for you, I had almost fixed #14 and now you can offset terrain. The only problem is that features and structures aren't offset, will look into that

With offset: image

Without offset: image