#How can I use one of ItemBuilder's methods on a block?

6 messages · Page 1 of 1 (latest)

bitter imp
#

I have some kubejs method called Internal.ItemBuilder.rarity. I'm not entirely sure what mod it's from and it shouldn't really matter. How can I execute a method from ItemBuilder on a block created using BlockBuilder?

sly rivetBOT
#

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

surreal terrace
#
e.create('my_block').item(i => {
  i.rarity(...)
})
bitter imp
sly rivetBOT
#

Ticket closed!

bitter imp