#I cannot get my item functions to work

1 messages · Page 1 of 1 (latest)

tough kindle
#

They just dont work. I've tried so many things.

#

{
"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
}
}
}

tough kindle
topaz prawn
#

Not how that works. You need an event that run commands the function

tough kindle
#

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

topaz prawn
tough kindle
#

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

tough kindle
topaz prawn
tough kindle
#

Im doing what it says

topaz prawn
#

No youre not

tough kindle
#

I have on use

#

Then event

#

On use

#

Then a target

#

Then the function

#

@topaz prawn isnt that the same? Whats diffrent

topaz prawn
tough kindle
#

What isnt the same?

#

The only diffrence is on use and on consume

tough kindle