Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

World border #540

Draft
wants to merge 1 commit into
base: rewrite
Choose a base branch
from
Draft

World border #540

wants to merge 1 commit into from

Conversation

lukeeey
Copy link
Member

@lukeeey lukeeey commented Apr 29, 2020

This pull request implements support for the world border. It can be difficult as there is no support in bedrock edition for this feature.

Currently implemented

  • A warning when the player is near the edge of the world border
    image

TODO

  • Implement something that acts as a makeshift world border thats stops players going passed. I have an idea.

@lukeeey lukeeey mentioned this pull request Apr 29, 2020
90 tasks
@ZebulanStanphill
Copy link

Since the Java Edition world border only works in full-block increments (even when it appears half-way in a block), you could simulate the effects of the world border by interpreting the ring of blocks at the bottom of the world border as border blocks. Border blocks (despite their wall-like appearance) take up a full block... actually, their bounding box extends infinitely above and below them, making them the closest analog to a world border in Bedrock Edition.

The only issue is that they were an Education Edition exclusive up until recently. Luckily, they are being added to standard Bedrock in the 1.16 update. So you'll have to wait for that to release before you can use them.

If, for whatever reason, you can't use that approach, a somewhat more obtrusive approach would be to interpret all solid blocks on the world border as bedrock (the block), and all transparent blocks as barriers.

@lukeeey
Copy link
Member Author

lukeeey commented Jun 1, 2020

@ZebulanStanphill Message me on Discord (lukeeey#2013)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants