Jump to content

Hooks?


Scalinger2

Recommended Posts

I've been using MCP and I plan to upgrade to Forge, but a majority of my mod deals with modifying base code. From what I understand those are known as hooks in Forge.

 

Would I able to use hooks to do these:

Change shape and size of ravines

Change stack sizes of items

Make villagers chase cake

Change the size of the end and change its block gen

Mob Damage

Which potions the witches have

Mob spawn ratios

Amount of exp dropped on death(player)

Link to comment
Share on other sites

Thank you very much! And...

Change stack sizes of items
Be more specific, what exactly do you mean? The maximum stack size?

Yeah, the max size.

Mob Damage
Again, be more specific. You want to change how much damage mobs deal? You can do that either using the attributes system (SharedMonsterAttributes.attackDamage) and using EntityJoinWorldEvent again or if you need more detailed control using LivingAttackEvent.

Ahh, and how would I modify the arrow damage of skeletons? It's usually a different thing you have to modify right?

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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