#this doesn’t work

6 messages · Page 1 of 1 (latest)

viral coyote
#

const $SandPaperItem = Java.loadClass('com.simibudi.create.content.curiosities.tools.SandPaperItem')
const $ItemProperties = Java.loadClass('net.minecraft.world.item.Item$Properties')

event.custom('diamond_sandpaper', new $SandPaperItem(new $ItemProperties().defaultDurability(2000)))

The above script for adding a custom sandpaper doesn’t work

lethal windBOT
#

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

dusty hingeBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:

```js
onEvent('recipes', e => {
e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
```

As an example, :arrow_up: will look like this:

onEvent('recipes', e => {
  e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
jade pike
#

send your startup log

viral coyote
#

Oh never mind I was using quilt

#

I changed some stuff and now it works