#Shaped Recipe / Multiple Options Help

1 messages · Page 1 of 1 (latest)

neon crater
#

I have this:

event.shaped(
  Item.of('xycraft_machines:collector', 3),
    [
      ' A ',
      'BCB',
      'DFD'
    ],
    {
      A: 'minecraft:ender_pearl',
      B: 'xycraft_world:xychorium_gem_light',
      C: 'minecraft:redstone',
      D: 'xycraft_world:kivi',
      F: 'minecraft:chest'
    }
)

For D & F, I'd like to be able to use any Kivi block or any chest. How would I do that?

burnt boltBOT
#

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

neon crater
#

looking into this a bit more, it seems event.replaceInput is more of what I want

#
event.replaceInput(
  { input: 'xycraft_machines:port_item' },
  'xycraft_machines:port_item',
  '???'        
}
#

would '#chest' work? #minecraft:chest?

neon crater
#

'#forge:chests/wooden' is what i wanted