minecraft 1.16 check if player has item in range of 5 blocks
execute if entity @a[nbt={Inventory:[{id:"minecraft:white_concrete"}]},distance=..5,limit=1] run say There are one or more players nearby with white concrete in their inventory!
minecraft 1.16 check if player has item in range of 5 blocks
execute if entity @a[nbt={Inventory:[{id:"minecraft:white_concrete"}]},distance=..5,limit=1] run say There are one or more players nearby with white concrete in their inventory!
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us