Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hitboxes to machine addons #77

Merged
merged 6 commits into from
Aug 25, 2024
Merged

Added hitboxes to machine addons #77

merged 6 commits into from
Aug 25, 2024

Conversation

jshipley
Copy link
Contributor

  • Added static initialization to machine addons for hitboxes with all facing/face rotations
    • Addon machine blocks that don't have a hitbox will default to full cube
  • Added Geometry.rotateVoxelShape() utility function
  • Converted machine addon parameter list to an AddonSettings record (with with* functions)
  • Updated item blockstates / models to all have consistent rotation, lighting, item frame view, etc.

* Addons should now be consistently rotated for face/facings (and match items)
* Addon items should be lit from the front so that they look better in gui / manual
* Shorter addon blocks turned to lay flat in item frames
@Rearth
Copy link
Owner

Rearth commented Aug 25, 2024

Damn that's a huge list of changes, but surely a welcome one. I really appreciate all the effort that went into this. Updates collision shapes are something that the addons definitly needed. Also didn't even know we coul;d adjust the lighting in the previews

@Rearth Rearth merged commit b28ee20 into Rearth:1.21 Aug 25, 2024
1 check passed
@jshipley jshipley deleted the hitboxes branch August 28, 2024 17:14
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