1:03 There actually is a way to do that and thats by modifying the data value but thats only possible certain items, like items that dont have durability or multiple variants After you modify the data value of the item name the item and then save it in a structure block To give yourself an item with a different data value use this command /give @s "the item you want" 1 2 The second number is the data value you assign to it The hasitem command also has to be modified to include data=the data value you gave the item
Here a tip to improve your command. /execute as @a [hasitem={item=brick, location=slot.weapon.mainhand, data=10} at @s] run tp @e [type=item,r=10] @s If you put the "as @a" and later put the "at @s" allow to you use the "@s" instead "@p" in the tp. In this way the command become more multiplayer friendly. And the "data=10" make the command just work with "special bricks". So normal bricks not work anymore. And for get a special brick you need make "/give @s brick 1 10. Edit: If you want a tutorial for a kind of "custom craft" for this item, you can ask me
@natethegreat2064 Man this may depend, if you don't want all players to be able to move during the frozen time , you can use this command: "/execute if entity @a [hasitem={item=clock, location=slot.weapon.mainhand}] as @e at @s unless entity @s [hasitem={item=clock, location=slot.weapon.mainhand}] run tp @s ~~~" In this way, every players that are holding the clock will not freeze. I already tested this and are working.
1:03
There actually is a way to do that and thats by modifying the data value but thats only possible certain items, like items that dont have durability or multiple variants
After you modify the data value of the item name the item and then save it in a structure block
To give yourself an item with a different data value use this command
/give @s "the item you want" 1 2
The second number is the data value you assign to it
The hasitem command also has to be modified to include data=the data value you gave the item
Just subscribed yeah
If I get 10 likes I'll start my own yt channel
Gad damn that good
Here a tip to improve your command.
/execute as @a [hasitem={item=brick, location=slot.weapon.mainhand, data=10} at @s] run tp @e [type=item,r=10] @s
If you put the "as @a" and later put the "at @s" allow to you use the "@s" instead "@p" in the tp. In this way the command become more multiplayer friendly.
And the "data=10" make the command just work with "special bricks". So normal bricks not work anymore. And for get a special brick you need make "/give @s brick 1 10.
Edit: If you want a tutorial for a kind of "custom craft" for this item, you can ask me
Thanks
@@causalscientest9380 you are welcome, good luck in your journey
Bro help me with the clock thing cause I need to add the tags but idk wat tags to do to not make myself freeze
@natethegreat2064 Man this may depend, if you don't want all players to be able to move during the frozen time , you can use this command:
"/execute if entity @a [hasitem={item=clock, location=slot.weapon.mainhand}] as @e at @s unless entity @s [hasitem={item=clock, location=slot.weapon.mainhand}] run tp @s ~~~"
In this way, every players that are holding the clock will not freeze.
I already tested this and are working.
@@sae2318 r u Einstein great grandson?
Tool #3 is basically just limitless from JJK lol
Can you make a video on how to make mobs drop custom items woth different chances?
Good idea, that will be my next video.
The commands seem to hate items what have more then one word in them
That’s why you use an _