Posted November 18, 201212 yr So I'm wanting to alter the ai of some of the mobs, more specifically the cow. I want to force it to eat grass. Now I've already been able to make it do that, but I've heard that altering the base classes of the game is not looked highly upon. How would I go about altering mob ai's without making changes to the base classes?
November 18, 201212 yr Why not use the LivingUpdate event, check if it's a cow then perform EntityAIEatGrass.updateTask() ?
November 18, 201212 yr Author That sounds great, but could you give me an example of how to use the LivingUpdate event?
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.