Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 3, 2026

The 3x3 zeiton area check only examined the horizontal (X/Z) plane, failing to detect wall configurations. Scale animation code in RiftEntity was dead—BOTI handles rift rendering separately.

3x3 Area Check

  • has3x3ZeitonArea() now takes Direction parameter and checks the plane perpendicular to hit face:
    • UP/DOWN → X/Z plane
    • EAST/WEST → Y/Z plane
    • NORTH/SOUTH → X/Y plane
Direction.Axis facingAxis = facing.getAxis();
if (facingAxis == Direction.Axis.Y) {
    checkPos = center.add(d1, 0, d2);      // horizontal
} else if (facingAxis == Direction.Axis.X) {
    checkPos = center.add(0, d1, d2);      // Y/Z wall
} else {
    checkPos = center.add(d1, d2, 0);      // X/Y wall
}

Removed Dead Code

  • SCALE tracked data, getScale()/setScale(), scale logic in tick(), scale NBT fields
  • Scale-based rendering in RiftEntityRenderer (BOTI path in AITModClient.riftBOTI() ignores it)

🆑

  • add: rifts no longer spawn naturally - opened via sonic overload on 3x3 zeiton blocks
Original prompt

This section details on the original issue you should resolve

<issue_title>Refactor Rift Entities</issue_title>
<issue_description>### Description

Details for this request

  • Remove naturally spawning rift entities entirely
  • Make rift entities like paintings, so they are forced to be attached onto blocks
  • Using a Sonic in overload mode on any zeiton block which has a 3x3 area opens a rift onto that centre block

Images, links & related resources

sdadasdasd

I've checked the feature requests...

  • ...and this feature request was not requested before.
    </issue_description>

<agent_instructions>Implement the feature as requested
Attempt to run datagen after changes to ensure build works
I'd recommend referencing https://mappings.dev/1.20.1/index.html
If possible, also decompile the source code for related classes (Painting / ItemFrame)
Make the rifts grow to a size after being opened, and shrink away as they approach their limited lifespan</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits February 3, 2026 19:52
…t opening

Co-authored-by: duzos <73184526+duzos@users.noreply.github.com>
…ction

Co-authored-by: duzos <73184526+duzos@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor rift entities to improve attachment and spawning Refactor rift entities: block-attached, zeiton-triggered, animated lifecycle Feb 3, 2026
Copilot AI requested a review from duzos February 3, 2026 19:59
Co-authored-by: duzos <73184526+duzos@users.noreply.github.com>
Copilot AI changed the title Refactor rift entities: block-attached, zeiton-triggered, animated lifecycle Fix 3x3 zeiton wall check and remove unused rift scale code Feb 3, 2026
@duzos duzos changed the title Fix 3x3 zeiton wall check and remove unused rift scale code refactor rift entities Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Rift Entities

2 participants