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

the output of melting modifier weirdly disappears when the entity and the dropped item have the same recipe #5266

Open
Jamesdsj opened this issue Oct 5, 2024 · 4 comments
Labels
1.19 Issue affects 1.19 Bug Issue describes unintended or broken behavior Confirmed Issue has been verified as being caused by Tinkers, or an enhancement is planned to be added

Comments

@Jamesdsj
Copy link

Jamesdsj commented Oct 5, 2024

Minecraft Version

1.19.2

Forge Version

43.3.13

Mantle Version

1.10.36

Tinkers' Construct Version

3.8.4.50

Describe your issue

When attacking the mob using weapons with melting modifier, if the mob itself and its dropped item (e.g. slime) have the same melting result, the fluid amount may fluctuate.
2024-10-05_13 06 47
After I killed a large slime:
2024-10-05_13 07 01

Crash Report

No response

Other mods

none

Tried reproducing with just Tinkers?

Yes

Performance Enchancers

None of the above

Searched for known issues?

Searched open issues

@Jamesdsj Jamesdsj added 1.19 Issue affects 1.19 Bug Issue describes unintended or broken behavior Unreviewed Issue is new and is awaiting the team to review it labels Oct 5, 2024
@KnightMiner
Copy link
Member

Looks to me like you are in creative mode. Creative mode is known to make NBT inconsistent, and to be honest I doubt the weapons will work in creative to any reasonable degree. Try it in survival.

@Jamesdsj
Copy link
Author

Jamesdsj commented Oct 5, 2024

I tried, and it happened again.

@KnightMiner
Copy link
Member

KnightMiner commented Oct 8, 2024

Hmm, quick glance at the source code suggests that the melting modifier is not properly melting dropped items, I think that it will just reset the tank to 0 before melting an item due to a typo.

To confirm, you could try melting a mob that has a drop with a different output than the mob itself, or mine a block with the melting modifier.

Bug is basically the same as the other melting bug we recently had, made a mistake when cleaning up the code in 1 or 2 modifiers.

@KnightMiner KnightMiner added Confirmed Issue has been verified as being caused by Tinkers, or an enhancement is planned to be added and removed Unreviewed Issue is new and is awaiting the team to review it labels Oct 8, 2024
@Jamesdsj
Copy link
Author

Jamesdsj commented Oct 9, 2024

I see. I remember that melting ores also has similar problem. I guess that is the reason.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.19 Issue affects 1.19 Bug Issue describes unintended or broken behavior Confirmed Issue has been verified as being caused by Tinkers, or an enhancement is planned to be added
Projects
None yet
Development

No branches or pull requests

2 participants