Started by
natemilligan45
on
Topic category: Help with Minecraft modding (Java Edition)
So I’m trying to give my mod made villager a happiness bar but I can’t figure out Wht type of variable. should I do global, local or nbt. Cause I heard global effects every villager. How should I go about it.
Is it for individual villagers, or the player? If you're trying to specifically give individual villagers happiness, I'm not sure how you'd go about it. To the best of my knowledge, you'd probably have to make some sort of custom nbt tag; variables can only affect players or the world itself.