Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey guys,

Im wondering how to override the AI of the vanilla mobs. Im dont want to add a new mob with (custom) AI, I want to override the vanilla AI for e.g. zombies. For example: a default vanilla zombie shouldn´t attack villagers and players anymore.

DeBugger

 

PS: Why does the Forge Doc dont have a chapter about entities??

Edited by DeBugger

3 minutes ago, DeBugger said:

Why does the Forge Doc dont have a chapter about entities?? 

Because no one has taken their time to detail the massive amount of information an entity is.

3 minutes ago, DeBugger said:

Im wondering how to override the AI of the vanilla mobs.

EntityLiving has a public field called tasks that you can modify to have your tasks.

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.

  • Author

Thank you. But do I have not to link my tasks to e.g. EntityZombie?

6 minutes ago, DeBugger said:

Thank you. But do I have not to link my tasks to e.g. EntityZombie?

Yes, use the EntityJoinWorldEvent.

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.

  • 1 year later...
7 minutes ago, gameDevGandalf said:

@DeBugger did you find any solutions?

 

 

 

Make you own thread, and if you're using 1.12, it isn't supported here anymore.

It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.