Started by
drumming2008
on
Topic category: Advanced modding
How would I go about recreating the projector system in the GLASS mod (https://www.curseforge.com/minecraft/mc-mods/general-laymans-aesthetic-…) with mcreator (can use custom code)?
https://mcreator.net/comment/227536
"I do beleive, putting something like;
check if there is a team called "mobc"
if not create one
under the whenplayerjoinsworld trigger then inside of that C Mob's Whenentityspawned trigger add /join blah blah team. would be enough.
You can add a player to the team while the item is in players hand and remove it when player doesnt holds it. Or, after the player eats a "certain thing/food" he joins that team permanently and becomes friendly with that mob.
The rest is up to your creativity."
This was my answer on the thread, but basically you are playing with the team command.
Sorry, i was also writing an answer to another thread while reading yours, i sended it to wrong one and now i cant delete it