How to add a new functionality to the game

Started by ModManOnCurseForge on

Topic category: Help with modding (Java Edition)

Last seen on 00:37, 13. Oct 2024
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.

Last seen on 14:12, 13. Oct 2024
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.

Last seen on 00:37, 13. Oct 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know, but like how XD
Tue, 10/01/2024 - 23:30

I know, but like how XD

Last seen on 14:12, 13. Oct 2024
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.

Last seen on 00:37, 13. Oct 2024
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.