Update Worldedit.js

This commit is contained in:
radmanplays 2024-09-12 10:10:41 +03:30 committed by GitHub
parent bf2ba54074
commit 5780906bae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,17 @@ ModAPI.addEventListener("lib:libcustomitems:loaded", () => {
base: "wooden_axe", base: "wooden_axe",
name: "Wand", name: "Wand",
qty: 1, qty: 1,
recipe: [
" ",
" # ",
" "
],
recipeLegend: {
"#": {
"type": "item",
"id": "wooden_axe"
}
},
onRightClickGround: `/*/user, world, itemstack, blockpos/*/ onRightClickGround: `/*/user, world, itemstack, blockpos/*/
itemstack.stackSize -= 1; itemstack.stackSize -= 1;
if (itemstack.stackSize < 1) { if (itemstack.stackSize < 1) {