Skip to content

Allow fortune to work with GT ores using Bound Pickaxe right click.#115

Merged
Dream-Master merged 4 commits intomasterfrom
fortune_mining
Jan 4, 2026
Merged

Allow fortune to work with GT ores using Bound Pickaxe right click.#115
Dream-Master merged 4 commits intomasterfrom
fortune_mining

Conversation

@Miklebe
Copy link

@Miklebe Miklebe commented Jan 3, 2026

Uses a new method getDropsFortune() to properly get fortune calculation from GT ores. Due to mechanics of Bound Pickaxe, it called the method only for ore calculation, and since it was not done through harvest method, the player entity was null, which failed getDrops playerEntity check for fortune math.

Added GTNHLib as direct dep so it can compile (was pulling old version through NEI and failing compilation).
GT version bump so it works on the next release of GT5U with the PR below, might need extra dep bump later.

Hard dependency on GTNewHorizons/GT5-Unofficial#5639, merge only after GT5U PR got merged.

Tested in Dev with and without GT5 loaded on both java 8 and 21, the feature itself works fine.

@github-actions
Copy link

github-actions bot commented Jan 4, 2026

#116

@Dream-Master Dream-Master added 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta and removed 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta labels Jan 4, 2026
@Dream-Master Dream-Master merged commit a0e4894 into master Jan 4, 2026
1 check passed
@Dream-Master Dream-Master deleted the fortune_mining branch January 4, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants