SonarSonic / Flux-Networks

Wireless Energy - Minecraft Forge Mod
MIT License
108 stars 59 forks source link

[Suggestion] Allow Flux Point to be used as a 'battery' in Mekanism Machines? #416

Open koalalord9999 opened 3 years ago

koalalord9999 commented 3 years ago

I'd like to ask that you add a functionallity to flux points that have been programed then picked up to act as a battery in mekanism machines (namely the digital miner) so that you can place the flux point in the energy slot, and it supply power as if it were just a battery connected to the network. This would just allow us to place the point into the energy slot, break the miner (it stays in the inventory) then move the digital miner somewhere else without having to set it all up again

Thanks :)

BloCamLimb commented 3 years ago

Flux Point is not allowed to do it, but it is possible for an item similar to Flux Storage

koalalord9999 commented 3 years ago

Flux Point is not allowed to do it, but it is possible for an item similar to Flux Storage

What item is that?

BloCamLimb commented 3 years ago

The one that doesn't exist now ( ̄へ ̄), maybe I will make Flux Storage use as an item.

koalalord9999 commented 3 years ago

Oh sorry, I misunderstood, thought you were saying there was an item that does that already

ghost commented 3 years ago

Honestly why not just make an item called flux battery that implements both the flux point and plug (requiring them to craft of course) and can be charged/discharged like battery items in other mods? Shouldn't be too difficult to make

BloCamLimb commented 3 years ago

It would be hard, since ItemStack doesn't hold enough context to support a network system, we can't track the lifecycle of this connection type. We can only use FluxStorage item as a battery, but we can't charge it across the network. Only TileEntitiy can do it.

koalalord9999 commented 3 years ago

would it be possible to have a wireless charging link to a block kinda like how draconic evolution did theirs with those weird energy relays? but be based on UUID of player placing block, and if UUID and same block match it connects the network to that block..?

BloCamLimb commented 3 years ago

Is it something like a Base Station?

koalalord9999 commented 3 years ago

I'm not sure, but with draconic evolution, you would connect some relays to your power source, they would connect wirelessly to each machine applied with a crystal wrench, and each machine would split power available evenly

ghost commented 3 years ago

It would be hard, since ItemStack doesn't hold enough context to support a network system, we can't track the lifecycle of this connection type. We can only use FluxStorage item as a battery, but we can't charge it across the network. Only TileEntitiy can do it.

Can you explain this a little more? I don't have any background working on this specific mod so I'm not sure what you mean sorry

Mecr0mage commented 2 years ago

in DE theres a block called the Wireless energy relay. once you place it down and connect it to a power source, you can use the mod's crystal wrench to select the relay and then rightclick on any block within a set range, and the wireless relay will attempt to push power into the block from the same face that you rightclicked on. the relay can store a certain number of connections based on the tier of relay you have up to i think either 64 or 128 connections. very useful in say the middle of a machine hub to effortlessly power many machines without worrying about cables or plugs on any of the side of the machines. honestly could be a pretty good idea for a advanced plug type in flux networks.

BloCamLimb commented 2 years ago

I come up with a multi-block device called something like Herculean Flux Hub or Herculean Flux Concentrator, which is used to power all machines in chunks. These machines can be automatic or configured to power. Flux Storage may also form a cylindrical multi-block structure. They can be charged directly from the top and bottom with other mod cables.

Mecr0mage commented 2 years ago

that sounds really cool, how would it detect which blocks in a chunk take power and which ones dont? i cant imagine it would check every block in a chunk for the ability to take power. also would it be possible to have it power machines in adjacent chunks to if you wanted or would that be really difficult to implement?