Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Problem with Negative Relative Coordinates on ICs

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
game-dev

Research direction

Reproduce the problem with the Ranged Collector (MC1214) IC in CraftBook 1.8.8 using the third-line coordinate value "1=-1:0:0" and the listed chest and item setup. Trace how the IC interprets negative relative x and z coordinates; done when those coordinates remain relative and the collector picks up the expected item.

Written by the indexing model from the issue text.

Description

CRAFTBOOK-3169 - Reported by Trainerredstone7

Whenever I try to use a negative relative coordinate on the Ranged Collector (MC1214) IC in the 1.8.8 version of Craftbook, the coordinate system switches to offset coordinates instead. The problem might apply to more than just Ranged Collector, but I've only tested it for that IC.

How to reproduce:

  1. Create a Ranged Collector sign facing in the positive z direction. On its third line, write "1=-1:0:0"
  2. Place a chest above the block the sign is attached to.
  3. Drop an item in the same block as the sign.
  4. Trigger the sign.
    Expected behavior:
    The sign picks up the the item, since the relative coordinates are centered on the block to which the sign is attached, and the negative x direction is in the direction of the sign (according to relative coordinates).
    Actual behavior:
    The sign fails to pick up the item. If you drop an item next to the global negative x side of the block to which the sign is attatched and trigger the sign, the sign will pick that item up.

This same problem applies to the x axis (and probably the y axis, but it doesn't matter there since the relative and global y directions are the same).

Dominant language
Java
Stars
320
Forks
165
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from EngineHub/CraftBook

All issues in EngineHub/CraftBook

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.