Moderate Hilarity Posted October 22, 2025 Report Posted October 22, 2025 Hi, I'm working on a mod with new bees / honeycomb etc. I'm trying to replicate the Squeezable behaviour of honeycomb using: "behaviors": [ { "name": "Squeezable", "properties": { "squeezeTime": 2, "squeezedLitres": 0.2, "returnStacks": [{"type": "item", "code": "game:beeswax", "stacksize": 1}], "liquidItemCode": "game:honeyportion" } }, ], It is successfully adding the squeezable recipe to the handbook and when I shift right click on a valid container the animation and sound starts but it does not squeeze the honey. It was mentioned in the 1.21 update "Feature: New Squeezable collectible behavior replaces hardcoded honeycomb item class" so I assume its supposed to be useable for any item?? Does anyone have any experience with this behaviour or know of any other mods that may use it? I would be interested to see if there is another working example of it anywhere. Thanks,
Spear and Fang Posted October 23, 2025 Report Posted October 23, 2025 (edited) I think the first thing I'd try would be changing the squeezeTime to 2.0, like vanilla has it. C# can be a little finicky about integers vs floats. https://github.com/anegostudios/vssurvivalmod/blob/master/CollectibleBehavior/BehaviorSqueezable.cs#L13 Â Edited October 23, 2025 by Spear and Fang 1
Moderate Hilarity Posted October 23, 2025 Author Report Posted October 23, 2025 Thankyou  I think It worked!  1
Recommended Posts