Skip to content

Commit

Permalink
Update Worldedit.js
Browse files Browse the repository at this point in the history
  • Loading branch information
radmanplays authored Sep 12, 2024
1 parent bf2ba54 commit 5780906
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions examplemods/Worldedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ ModAPI.addEventListener("lib:libcustomitems:loaded", () => {
base: "wooden_axe",
name: "Wand",
qty: 1,
recipe: [
" ",
" # ",
" "
],
recipeLegend: {
"#": {
"type": "item",
"id": "wooden_axe"
}
},
onRightClickGround: `/*/user, world, itemstack, blockpos/*/
itemstack.stackSize -= 1;
if (itemstack.stackSize < 1) {
Expand Down

0 comments on commit 5780906

Please sign in to comment.