I am trying to create Mjolnir

Started by IvoSpielt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am trying to create Mjolnir

Hey, I am trying to create Thors Hammer in MCreate for Minecraft 1.18.2 Java.

I can thow it but I have problems with the lightning on the hitted block and I don't know how to add the feature, that the Hammer disappear from the inventary, till I pick it up again or till it flies back to me, like an Enchanted Trident (optional). I am very new in MCreate and don't know how to do that, Does someone have experiences with that?

-Ivo

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can use procedure block …
Wed, 09/06/2023 - 20:03

you can use procedure block "attempt to override motion vector" but this will be tricky cuz u need to make it go in the player direction, also if you dont want to mess with the no collision for the item entity you can make it if motion vector of the item entity with nbt data of your thor hammer is low enough to just teleport it to the player but this will take some time to set up so i suggest you to get familliar with all the procedures block, learn how to read nbt data etc. before you will do complicated stuff like this