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
Hardness and harvest level doesn't correspond #410
Comments
@Goldorion Does the same for me, I don't see any code generated related to the "Tool harvest level". |
This was present in my previous report #387, and it's still present in 1.9.9. Just realized my new mod will be completely pointless to release, since it relies on mining levels to prevent progression jumps. |
Additionally, I did sanity check this in Forge, and it operates with no issues. Probably a simple syntax error in the block's java file. |
If you have the fix, you're welcome to open a PR (even if I have an idea to improve a little bit the system I think) |
If I have some free time this weekend, I'll take a look at it. 👍 |
Mining levels in Fabric are controlled via tags. |
And this is how it's done in the generator too. |
I was able to fix it. The tag folder you're putting the .json into is incorrect. If you're using The I submitted a PR to update the yaml, to get the right directory for the tag. 🙂 |
In
|
Changes directory for block mining level tag.
does it happen on 1.19.2 please tell me |
Issue description
I've tried creating a new block of gold variant, set it's hardness value at 3 and harvest level at 2, the same as gold block, but I can still mine it with a wooden axe and much more quickly than it should be.
How to reproduce this issue?
1 - Create a project in mcreator 2023.1 with fabric generator for 1.19.2
2 - Create a new block
3 - Set it's hardness value and and harvest level in properties
4 - Save mod element
5 - Run client
6 - Constat
Operating system
Windows
Details
Mcreator version 2023.1
Generator for Fabric 1.19.2 - 0.67.1
Example workspace
https://drive.google.com/file/d/18t65xbcf8V066F08OkYbHYiqc_s1GLod/view?usp=sharing
Logs
No response
Issue tracker rule checks (please read carefully)
The text was updated successfully, but these errors were encountered: