Jump to content

Weird fluid and item giving behaviours


Recommended Posts

I made my mod, hammerspace, and added some stuff to it (level caps, packets for syncing it, and mixin). After that, fluids do not flow and items given to you end up in your inventory as well as dropping. That is what I have noticed so far. I have ABSOLUTELY NO IDEA. What is causing this and have been trying to fix it for FOUR DAYS. Can someone please help me.

Github Repo: https://github.com/soulbound-devs/hammerspace

Link to comment
Share on other sites

I see you are modifying tick behaviour. If fluids aren't flowing the game is probably not ticking at all. You can confirm this by checking whether other ticked behaviour works. The problem is likely in your mixin. Disable it and it will probably fix it. I haven't looked at it in detail, but perhaps your capability is not present or the upper bound on the for loop is 0.

Does this behaviour even need a mixin? It will be much easier to debug if written without a mixin. I'm almost certain there's an event for ticks, surely you can just use that instead.

I haven't looked for the strange item behaviour but at a guess mixins are likely the source again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.