Posted November 20, 20195 yr I want to make it so some mobs aren't hostile towards players, such as golems or wolves, even after being attacked. What do I need to do to accomplish this?
November 20, 20195 yr 6 hours ago, skeddles said: I want to make it so some mobs aren't hostile towards players, such as golems or wolves, even after being attacked. What do I need to do to accomplish this? You need to change the ai in each entity. Use the EntityJoinWorldEvent and modify EntityLiving#tasks(I think that's still the name) for the event entity. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
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.