Posted November 25, 20231 yr Is there an event to subscribe to or another way to run code only once whenever a wandering trader comes into existence from anything (natural, /summon, spawn egg, etc.)? I want to do a 1 in 20 chance whenever a trader spawns to give him a tag from my mod that makes him turn into another mob when you try to hit or trade with him Edited November 25, 20231 yr by a_random_something
November 26, 20231 yr Subscribe to EntityJoinLevelEvent and check if that entity is a wandering trader. Edited November 26, 20231 yr by LeeCrafts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.