pop4959 / ChunkyBorder

An add-on for Chunky which lets you create and manage world borders.
GNU General Public License v3.0
46 stars 11 forks source link

Wrong teleport back #38

Closed Hikk0o closed 2 years ago

Hikk0o commented 2 years ago

Hello!

If you eat chorus near the nether border, player teleports over bedrock.

2022-01-24_14 37 30 2022-01-24_14 37 34

pop4959 commented 2 years ago

Hmmmm, yeah that doesn't look ideal. Does it always teleport you to the roof of the nether, or does it sometimes find a safe spot underneath?

Hikk0o commented 2 years ago

Hmmmm, yeah that doesn't look ideal. Does it always teleport you to the roof of the nether, or does it sometimes find a safe spot underneath?

Based on my observations, always (I tried 5-6 times)

pop4959 commented 2 years ago

Hey, long time, I finally got around to revisiting this and decided that the best choice here would be to add a configuration option to disable this mechanic near the border.

Once you've updated to a new version, just set prevent-chorus-fruit: true in the config.yml.

Chorus fruit will work normally when not near the border, but they will not teleport you if the teleport would cause you to go over the border, similar to the ender pearl option.

pop4959 commented 2 years ago

I've made another adjacent change, though it still doesn't match chorus fruit behavior exactly. See #44 for details.