#Need help with a script

2 messages · Page 1 of 1 (latest)

rapid marshBOT
#

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

karmic fogBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:
Note that these are backticks, not apostrophes

```js :arrow_left:

ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})

``` :arrow_left:

This example will look like this:

ServerEvents.recipes(event => {
  event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})