Skip to content

Commit

Permalink
small fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
M1hono committed Sep 3, 2024
1 parent 387f780 commit 4d7e8d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```js
StartupEvents.registry("item", event =\> {
event.create("meng:my_food")
.food(foodBuilder=\>{})
.food(foodBuilder=>{})
})
```
这是最基础的写法,将该物品设置为食物,我们可以为食物设置一些参数
Expand Down

0 comments on commit 4d7e8d1

Please sign in to comment.