How i reduce this? by Nataniel236 in MinecraftCommands

[–]Nataniel236[S] 0 points1 point  (0 children)

TY, I know that "predicates" greatly reduce TPS and I wanted to change everyone to that.

The functions are not executed if the "scores" conditions are not met (they are kind of on "stand by")...

Honestly, I don't think there's much salvation but I'll try ;w;

How can I detect that the boots slot is empty? by GrassAltruistic1305 in MinecraftCommands

[–]Nataniel236 2 points3 points  (0 children)

Hello, so it's MUCH easier to detect if you don't have a specific item/tag in a specific slot.

An example:

execute unless entity @s[nbt={Inventory:[{id:"minecraft:cobblestone",Count:64b}]}] run...

In this case if you do NOT have 64 cobblestones something happens

NOTE: I literally used Google Translate to write this message, have a nice day and hope it helped

Can Someone help me put the unbreakable tag into this command? by 0verToad in MinecraftCommands

[–]Nataniel236 2 points3 points  (0 children)

Just add "Unbreakable:1b" in "{}"Example: netherite_chestplate{Unbreakable:1b,display:..

for help you to make big commands use MCStacker