Started by
Lord Makishi
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
I want to check if the player has an specific tag (for example:fire). Or add an specific tag to the player. Is that possible?
Topic category: Help with Minecraft modding (Java Edition)
Hi,
I want to check if the player has an specific tag (for example:fire). Or add an specific tag to the player. Is that possible?
global trigger
on entity tick
if is Nbt/GlobalVar/Tag = X for the event/target entity.
there are several tags in mcreator. the most common are the usage of nbts
if you want to add one for all players. use global variables. which are applied to all players when they enter the world
here is a tutorial by me about nbts. and variables. recommend pausing for reading properly
https://www.youtube.com/watch?v=hk8QrAIkmxk&t=1s&ab_channel=KyouksterM
@Kyoukster Hey! at first i didn't realize it was you :D I subbed to you a few months ago, and i find your videos very helpful. Anyways, i don't know if that's what i meant. I wanted to check if the player has an specific tag, which in minecraft you would check with "Tag <playername> list". Maybe i would have to make a function that checks that, but idk. Still thanks for trying to help me!