You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we remove at least one item from the list above, including the script, the bug stops happening.
Trigger of bug is any ServerEvents.recipes, even empty. Without it it wouldn't happen.
Bug:
Pigs start following the player if they hold minecraft:air (empty) in at least one hand.
We can succesfuly multiply pigs with empty hand.
Also, we can successfully feed a baby pig with an empty hand.
I think KubeJS somehow breaks one of these mods, causing it to add Null as Pig.FOOD_ITEMS instead of the intended item. Null is then interpreted as minecraft:air(empty hand). So bug starts to happen.
Crash report/logs
No response
The text was updated successfully, but these errors were encountered:
Minecraft Version
1.19.2
KubeJS Version
kubejs-forge-1902.6.2-build.73
Rhino Version
rhino-forge-1902.2.3-build.284
Architectury Version
architectury-6.6.92-forge
Forge/Fabric Version
43.4.4
Describe your issue
This is the most cursed bug I've ever had to debug...
I just spent 10 hours finding the cause and creating a minimal reproducible mod list:
Minimal reproducible mod list:
architectury-6.6.92-forge
blueprint-1.19.2-6.2.0
FarmersDelight-1.19.2-1.2.4
kubejs-forge-1902.6.2-build.73
rhino-forge-1902.2.3-build.284
Add this script in server scripts:
If we remove at least one item from the list above, including the script, the bug stops happening.
Trigger of bug is any
ServerEvents.recipes
, even empty. Without it it wouldn't happen.Bug:
Pigs start following the player if they hold minecraft:air (empty) in at least one hand.
We can succesfuly multiply pigs with empty hand.
Also, we can successfully feed a baby pig with an empty hand.
Reason:
https://github.com/team-abnormals/blueprint/blob/1.19.x/src/main/java/com/teamabnormals/blueprint/core/Blueprint.java#L201
https://github.com/vectorwing/FarmersDelight/blob/1.19/src/main/java/vectorwing/farmersdelight/common/CommonSetup.java#L124
I think KubeJS somehow breaks one of these mods, causing it to add
Null
asPig.FOOD_ITEMS
instead of the intended item.Null
is then interpreted asminecraft:air
(empty hand). So bug starts to happen.Crash report/logs
No response
The text was updated successfully, but these errors were encountered: