#I cannot get my item functions to work
1 messages · Page 1 of 1 (latest)
{
"format_version": "1.16.100",
"minecraft:item": {
"description": {
"identifier": "rsf:opening_thread",
"category": "nature"
},
"components": {
"minecraft:icon": {
"texture": "rsf_opening_thread"
},
"minecraft:damage": 0,
"minecraft:on_use": {
"on_use": {
"target": "self",
"/function openingthread_function": {}
}
},
"minecraft:cooldown": {
"duration": 0.2,
"category": "kamadoability"
},
"minecraft:max_stack_size": 1
}
}
}
Thats one of my attempts
Not how that works. You need an event that run commands the function
When I tried putting the function into a event it said something about no value
@topaz prawn
Bc I tried that
But it said this
I recommend checking the wiki on how to set it up properly
Ok
Do they have that?
Because theres alot they dont have I have found out recently
Should though
@topaz prawn events-on use-[function]
Thats my guess
Slightly informed guess
Nope
Wont worm
Work
Ok it looks like I gotta make a event how do I do that?
No youre not
I have on use
Then event
On use
Then a target
Then the function
@topaz prawn isnt that the same? Whats diffrent
This does not match the wiki
?