How to add a new functionality to the game

Started by ModManOnCurseForge on

Topic category: Help with Minecraft modding (Java Edition)

Active 10 months ago
Joined Sep 2024
Points:
108

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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.

Active 7 hours ago
Joined Dec 2014
Points:
1084

User statistics:

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

You'd do this with a procedure.

Active 10 months ago
Joined Sep 2024
Points:
108

User statistics:

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

I know, but like how XD

Active 7 hours ago
Joined Dec 2014
Points:
1084

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 673
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.

Active 10 months ago
Joined Sep 2024
Points:
108

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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.