AllTheMods / AllTheMods/AllTheModium

Incorrect check for preventing placing blocks near the center of the End island

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
18
Forks
41
PR merge metrics
No merged PRs in 30d

Description

https://github.com/AllTheMods/AllTheModium/blob/3e82144961f615b650fae80e6dd62d93dab02610/src/main/java/com/thevortex/allthemodium/events/BlockBreak.java#L28
This check appears to prevent placing of any block within 1,000 blocks of either axis in the End dimension, whereas I believe the intention was to prevent placing Teleport Pads within 1,000 blocks of the center End Island.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/main/java/com/thevortex/allthemodium/events/BlockBreak.java at line 28 and inspect the End-dimension placement check. Verify which block types and coordinate conditions it applies to. Done means only Teleport Pads are prevented from being placed within 1,000 blocks of the End island center, while other blocks remain placeable.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.