#Make already existing block only work when powered by forge energy

18 messages · Page 1 of 1 (latest)

dim quiver
#

I have this resource generator from the opolisutilities mod that starts to duplicate stones the moment you put one inside of it, i want to make it so that the generator only works if enough energy (either immersive engineering, create or ad astra) powers it. If that is not possible the next best thing would be to slow it down.

vagrant tangleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

odd crescent
#

Not possible through kube unless the original mod author provides support

dim quiver
#

can you slow down the process tho?

odd crescent
#

No?

storm charm
#

@dim quiver yes you can do that

#

slow it down

#

you should be able to do

ServerEvents.recipes(event => {
  event.remove({id: "opolisutilities:recipes/resource_generator/stone.json"})
  event.custom({
  "type": "opolisutilities:resource_generator",
    "ingredients": [
      {
        "item": "minecraft:stone"
      }
      ],
    "duration": 200,
    "output": {
      "item": "minecraft:stone"
    }
  })
})```
dim quiver
storm charm
#

try reboot game

#

shouldnt work but who knows

dim quiver
#

nope

dim quiver
#

atm i only have this that allows you to change the recipe not the duration

  event.custom({
    type: "opolisutilities:resource_generator",
    ingredients: [
      {
        item: "minecraft:carrot"
      },
    ],
    output: {
      item: "minecraft:stone"
    },
  }) ```
tired holly
#

There is a workaround with PowerfulJS, but it can only do such thing when it is actively powered due to code limitation

vagrant tangleBOT
#

@dim quiver Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

vagrant tangleBOT
#

@dim quiver Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!