#When my item loses durability it doesnt work and i cant seem to make it unbreakable?
1 messages · Page 1 of 1 (latest)
‘‘‘‵‵‵’’’‛‛‛′′′
hmm
im trynna do the indent thing ig i can just send the file idk
loop all players:
if {cib_cooldown.%uuid of loop-player%} is 1:
if loop-player has a clock named "&r" in hand:
set {handutility.%uuid of loop-player%} to "&r&r "
else if loop-player has a clock named "&r" in offhand:
set {offhandutility.%uuid of loop-player%} to "&r&r "
else if {cib_cooldown.%uuid of loop-player%} is more than 1:
set {cib_cooldown.%uuid of loop-player%} to {cib_cooldown.%uuid of loop-player%} - 1
if loop-player has a clock named "&r" in hand:
set {handutility.%uuid of loop-player%} to "&r&r&f&l《<##f24b4b>&l%{cib_cooldown.%uuid of loop-player%}%&f&l》"
else if loop-player has a clock named "&r" in offhand:
set {offhandutility.%uuid of loop-player%} to "&r&r&f&l《<##f24b4b>&l%{cib_cooldown.%uuid of loop-player%}%&f&l》"
else:
set {cib_cooldown.%uuid of loop-player%} to 1```
command /bounded <string>:
permission: op
trigger:
if arg-1 is "cib":
give player clock named "&r" with lore "&f"
else if arg-1 is "enode":
give player clock named "enode"
else if arg-1 is "dash":
give player diamond sword named "&r"
else if arg-1 is "Makeshift":
give player netherite pickaxe named "Makeshift Drill"
it doesnt work once the sword loses durability
and i cant make the sword here " unbreakable" otherwise i get this message here
squid hook is what my resource pack sets it too btw its usually just
that's a syntax error.
most conventional method would be to 1 of player's tool = 1 of {_someItem}
anyways, (this would fix your durability issue too), the best way to identify custom items is with an NBT tag: https://x8ight.gitbook.io/syntask/storage/nbt-tags
as for your variables, make them lists. change . to ::
and, do not loop all players every second for this cooldown. thats really ineffcient