MattiDragon / AdvancedNetworking

Adds systems for programmable transfer of resources
https://modrinth.com/mod/advanced-networking
Other
4 stars 3 forks source link

How do I connect number or logic values to the item transfers? #14

Closed puggan closed 6 months ago

puggan commented 6 months ago

Description of the issue

I tried to limit the number of items transfered by taking the wanted amount minus the current amount, but don't seamto be able to connect an numeric value link to the limiter (or other item flow nodes)

2024-01-01_13 23 52

I also tried to use a less-then node, but the boolean value link can't be connected either. Tried to connect it to a switch-node but that node only takes numeric links.

2024-01-01_13 22 42

Reproduction steps

  1. chest of fuel
  2. furnace
  3. network controller
  4. connect all 3
  5. configure the network controller

Mod version

v3.0.1+mc1.20.4

Operating System

Windows 10 home 22H2

Minecraft version

1.20.4 fabric 0.15.3

Other mods

image

Server

Not tested

Client

Happens

Logs

no entries logged during problem

Extra Context

No response

MattiDragon commented 6 months ago

For the switch node you need to open the config and select the correct type. I might add an option for a value input to the limit nodes at some point

puggan commented 6 months ago

a value input to the limit nodes

sounds great.

And got the switch working:

image

You may want to add a list of exemple system, like the screenshoot above, to give an exemple on what the mod can do.

TommyC81 commented 5 days ago

Thanks for this issue being available as a reference. I was pulling my hair trying to transfer items to meet a certain level in a chest. This works, but is somewhat convoluted for a relatively common use case. An (optional) value input into the limit node would make sense. Thank you!