Majrusz / MajruszLibrary

Library with common code for my Minecraft modifications.
8 stars 6 forks source link

[1.20.1] [Forge] Super Strange Bug when Hitting Entities with Items #73

Closed Camawama closed 5 months ago

Camawama commented 5 months ago

Minecraft Version: 1.20.1 Forge Version: 1.20.1-47.2.0 Majrusz Lib Version: 7.0.4

Issue: When hitting a mob with most items, it take one item away. (Example, if I had a stack of 64 planks and hit a pig with the stack, it would bring the stack to 63). It happens every hit and is not random. Doesn't happen with weapons. It took me 3 hours of troubleshooting my modpack to find the issue. I do not have a mod list but I can provide the Modrinth Pack file to install the modpack and try yourself (it's the dev version of the pack).

This has to be one of the strangest bugs I've ever experienced, it's almost like it was an intended feature because of how out of place it feels. I hope it's an easy fix! I can provide anything else if needed (Logs, Pack file, etc).

Video Demonstration: https://youtu.be/w7iKmAPWTc8

Majrusz commented 5 months ago

Hello, thanks for the report, but I am not able to reproduce it locally. Can you send me this modpack?

Camawama commented 5 months ago

I will send the modpack file for Modrinth on Discord.

Camawama commented 5 months ago

Sorry, I should have sent an update on this. I DMed you the Modpack file for Modrinth.

Majrusz commented 5 months ago

No worries, eventually I found a way to fix it and in the latest 7.0.5 library it should work fine