I'm looking to implement a couple scoreboards on my 1.16 SMP server once the update releases.
I want to have the TAB screen display ancient debris mined and a nametag (under the players name when you're close to them) that displays diamond ore blocks mined.
I know how to do this but there is an exploit that I want to prevent and I'm not sure how. The exploit has to do with the fact that the scoreboard tracks blocks mined even if the player is using silk touch, which allows players to continually mine the same block to raise their numbers.
Can someone help me adjust the scoreboard so it only tracks the blocks if the player IS NOT using silk touch. I found a hint but I still can't figure out exactly how to make it work. Hopefully someone can help me with this! Here is the hint I found:
Really overthinking this one lol. Just use “mined:minecraft.diamond_ore” only for people whose nbt=! Selected item:{tag:{Silk touch enchantment}} and is instead nbt= Selected item:{iron pick} And the same command for the diamond pick.
In short, we want the scoreboard to update as long as the pickaxe the player is using does not have the silk touch enchantment. Thanks in advance for the help!
I'm looking to implement a couple scoreboards on my 1.16 SMP server once the update releases.
I want to have the TAB screen display ancient debris mined and a nametag (under the players name when you're close to them) that displays diamond ore blocks mined.
I know how to do this but there is an exploit that I want to prevent and I'm not sure how. The exploit has to do with the fact that the scoreboard tracks blocks mined even if the player is using silk touch, which allows players to continually mine the same block to raise their numbers.
Can someone help me adjust the scoreboard so it only tracks the blocks if the player IS NOT using silk touch. I found a hint but I still can't figure out exactly how to make it work. Hopefully someone can help me with this! Here is the hint I found:
Really overthinking this one lol. Just use “mined:minecraft.diamond_ore” only for people whose nbt=! Selected item:{tag:{Silk touch enchantment}} and is instead nbt= Selected item:{iron pick} And the same command for the diamond pick.
In short, we want the scoreboard to update as long as the pickaxe the player is using does not have the silk touch enchantment. Thanks in advance for the help!
So you have the same scoreboard type but it's not the "true" ores mined. When the player holds a pickaxe with silk touch and mined the ore, it removes 1 from the real ore mined and stuff.
I'm looking to implement a couple scoreboards on my 1.16 SMP server once the update releases.
I want to have the TAB screen display ancient debris mined and a nametag (under the players name when you're close to them) that displays diamond ore blocks mined.
I know how to do this but there is an exploit that I want to prevent and I'm not sure how. The exploit has to do with the fact that the scoreboard tracks blocks mined even if the player is using silk touch, which allows players to continually mine the same block to raise their numbers.
Can someone help me adjust the scoreboard so it only tracks the blocks if the player IS NOT using silk touch. I found a hint but I still can't figure out exactly how to make it work. Hopefully someone can help me with this! Here is the hint I found:
Really overthinking this one lol. Just use “mined:minecraft.diamond_ore” only for people whose nbt=! Selected item:{tag:{Silk touch enchantment}} and is instead nbt= Selected item:{iron pick} And the same command for the diamond pick.
In short, we want the scoreboard to update as long as the pickaxe the player is using does not have the silk touch enchantment. Thanks in advance for the help!
does this work?
So you have the same scoreboard type but it's not the "true" ores mined. When the player holds a pickaxe with silk touch and mined the ore, it removes 1 from the real ore mined and stuff.
==Links==
𝐒𝐞𝐜𝐨𝐧𝐝 𝐂𝐡𝐚𝐧𝐧𝐞𝐥- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦- https://www.instagram.com/cowsdabest_yt/?hl=en
𝐓𝐰𝐢𝐭𝐭𝐞𝐫- https://twitter.com/cowsdabestyt
𝐃𝐢𝐬𝐜𝐨𝐫𝐝- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!
I tried to copy paste that first command and it comes back with the error "no entity was found"
the name of my scoreboard tracking diamonds mined is called diamonds_mined if that helps you help me help myself. haha