Skip to content

Dev/fix b#18

Merged
AngelWingsPanda merged 2 commits intomainfrom
dev/fix-b
Apr 13, 2026
Merged

Dev/fix b#18
AngelWingsPanda merged 2 commits intomainfrom
dev/fix-b

Conversation

@mica-alex
Copy link
Copy Markdown
Collaborator

No description provided.

mica-alex and others added 2 commits April 13, 2026 15:52
Dead-end insulator TEs were using SIDE_MOUNT geometry (Y:0-0.6875) but
dead-end models sit at elevated Y positions. Created DEAD_END geometry
preset with proper bounds and added BoundsUtil (inspired by CSM
RotationUtils) for clean facing-based rotation of bounds and offsets.
Refactored InsulatorGeometry to use dynamic rotation instead of
pre-computed NS/EW bound pairs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
EnumFacing.byIndex(0) returns DOWN when the NBT key is missing or
corrupt. Since all blocks only use horizontal facings, this caused
bounding boxes and connection offsets to use wrong orientations on
world rejoin. Added safety fallback to NORTH in all three TE base
classes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AngelWingsPanda AngelWingsPanda merged commit caab446 into main Apr 13, 2026
1 check passed
@AngelWingsPanda AngelWingsPanda deleted the dev/fix-b branch April 13, 2026 19:59
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.

2 participants