Custom Datapack Items?

Started by Ima-builder on Wed, 06/17/2020 - 04:41

Topic category: Help with modding (Java Edition)

Last seen on 05:20, 22. Jun 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Datapack Items?
Wed, 06/17/2020 - 04:41

Hi, I was wondering if there is a way to make semi-custom items for datapacks.

Basically Where you right click the item and it runs a script, something similar to this this.

Last seen on 03:56, 30. May 2021
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That datapack uses a texture…
Wed, 06/17/2020 - 08:56

That datapack uses a texture pack to change the texture of a carrot on a stick, they make the wands using a carrot on a stick right-click detection system.

just make a scoreboard that detects right-clicking with a carrot on a stick and have a function that is constantly checking if it is right-clicked

Just follow this tutorial: https://www.youtube.com/watch?v=xcOw4conrVM

it will explain it better than me and it's made by someone who makes really good datapacks.