IntelligenceModding / Advanced-Peripherals-Features

A place for the feature request for Advanced Peripherals
0 stars 1 forks source link

create integration for redstone link #35

Open chipsams opened 2 years ago

chipsams commented 2 years ago

Describe your idea

integration for create that allows sending and reciving signals on redstone links/redstone link chanels. this could be done one of two ways:

link.clearOutputs() --outputs to channels preserve even when other channels are set, so it is probably for the best to have some bulk clearing.

- the redstone link having methods to set its two slots. this is less versatile, but perhaps easier to implement.
```lua
link=peripheral.find("redstoneLink")
link.setTopSlot("minecraft:dirt")
link.setBottomSlot("create:brass_ingot")
link.getTopSlot() --"minecraft:dirt"
link.getBottomSlot() --"create:brass_ingot"
link.getSlots() --{"minecraft:dirt","create:brass_ingot"}
link.setSlots("minecraft:stone","minecraft:dirt")

Describe alternatives you've considered if you've any

No response

Additional context

No response

Linked Issues

No response

awesomebossdj7 commented 2 years ago

create: computing already adds this: https://www.curseforge.com/minecraft/mc-mods/create-computing