How to add a new functionality to the game

Started by ModManOnCurseForge on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add a new functionality to the game

I made a mob and i want him to have a function that's not in the game. I want you to be able to give him a block, he sits down for like 3 seconds, and gives you a different one. I already have the modded entity, block, and the animation for it. I just don't know how to add the function.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You'd do this with a…
Mon, 09/30/2024 - 23:53

You'd do this with a procedure.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something like this, I'm not…
Tue, 10/01/2024 - 23:39

Something like this, I'm not really sure how to use Geckolib tho.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i need you to help explain…
Wed, 10/02/2024 - 00:09

i need you to help explain it a little more honestly, like if i give it cobblestone, would it turn it into the block i want it to. Like i need a little more help.