Skip to content

Fix Matter Manipulator copying chiseled glowstone - #106

Merged
UltraProdigy merged 1 commit into
masterfrom
glowstone-copy-metadata
Oct 4, 2026
Merged

UltraProdigy merged 1 commit into
masterfrom
glowstone-copy-metadata

Conversation

@DreamYao520

@DreamYao520 DreamYao520 commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

What changed

Override getDamageValue() for chiseled glowstone to return its actual block metadata, matching the existing bookshelf implementation.

Why

The inherited method returns the dropped item metadata, which is 0 for glowstone dust. Matter Manipulator therefore records an invalid glowstone variant, causing missing preview textures and failed material lookup when copying or replacing blocks.

Fixes GTNewHorizons/GT-New-Horizons-Modpack#27091

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@DreamYao520 DreamYao520 added the Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it. label Oct 2, 2026
@DreamYao520
DreamYao520 marked this pull request as ready for review October 2, 2026 16:02
@UltraProdigy
UltraProdigy merged commit d08e48b into master Oct 4, 2026
1 check passed
@UltraProdigy
UltraProdigy deleted the glowstone-copy-metadata branch October 4, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Fixes a bug. Please link it in the PR if an issue exists for it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Matter Manipulator can't copy chiseled glowstone

2 participants