Lythom / capsule

A minecraft mod : Bring your base! Capsules can capture a region containing any blocks or machines, then deploy and undeploy at will. Inspired by Dragon Ball capsules.
MIT License
17 stars 13 forks source link

1.16.5 Capsules not working on Topography Skylands world type #67

Closed AnimeniacYuuto closed 2 years ago

AnimeniacYuuto commented 2 years ago

I get a Capsules can't be used here, it might be a protected area when trying to place a capsule in a Skylands World from topography, tried teleporting 1000 blocks away but the issue persists

Lythom commented 2 years ago

I suspect this is a height problem (given the "skyland" name of the world). Capsules are hard coded to prevent capture / deploy above a certain height, because it causes an irreverisble loss when trying to deploy above the height limit (255). Since I coded this, height limit is now flexible by world so I'll see if I can find a smarter way to do it, which should solve the issue. Not sure when I'll get to this snce I still have to finish porting 1.18, but then I'll take a deeper look at it !

AnimeniacYuuto commented 2 years ago

Maybe, the average terrain height is around 150~

Lythom commented 2 years ago

Fixed in version 5.0.87. There was a calculation error with both world height and capsule position 🙃 Available on curseforge: https://www.curseforge.com/minecraft/mc-mods/capsule/files/3809557