BuildCraft|Core

BuildCraft|Core

7M Downloads

Unmergeable item

RiftomeR opened this issue ยท 6 comments

commented

Please add a way to make TravellingItem unmergeable. Sometimes it's really important.

commented

Merge mechanics can probably be tweaked - is there a specific use-case where this makes a difference? (Perhaps splitting later, as normal pipes don't auto-split already merged stacks...)

commented

mind giving some more context and exact use cases?

commented

It will be very useful in this project.

commented

if you're referring to https://github.com/RiftomeR/itemtraffic/blob/master/src/main/java/riftomer/itemtraffic/behaviours/PipeBehaviourBasic.java#L135-L164 then you probably need to use both PipeEventItem.Split and PipeEventItem.FindDest to manually split up the stack into sub-stacks, and then find a destination for every sub-stack.

commented

Yes, i will do it. Thank you.

commented

Just FYI the pipe event system hasn't had many addons testing it yet so please ping me somewhere on github (or in our discord) if it doesn't seem to do what you need it to.