How can I make an item in an entity's hand even if it's not a "Biped" model?

Started by trmhtk2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make an item in an entity's hand even if it's not a "Biped" model?

I made a pretty cool mod that has a special witch in it, I made an item that is a wand, how can I make it be in the witch's hand?

Because settings can only be made for a "Biped" entity

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it's a custom model, just…
Fri, 01/29/2021 - 17:39

If it's a custom model, just put the item in there in modeling.  if you wanted like a sword or something in its hand, increase the damage.  

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can add handheld layer…
Sat, 02/06/2021 - 07:36

You can add handheld layer via custom code.

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you elaborate …
Sat, 02/06/2021 - 15:54

Could you elaborate @Evolving_Code

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's possible with Zombie…
Fri, 02/12/2021 - 13:34

It's possible with Zombie models.

I'm not sure if it works with Skeletons, Villagers, Iron Golems etc.
but I think it works too, because:

  • Villagers are able to hold an emerald or bread
  • Skeletons are able to hold a bow
  • Iron Golems are able to hold a rose
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Btw, sry 4 my weird grammar…
Fri, 02/12/2021 - 13:34

Btw, sry 4 my weird grammar lol.

Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try the following steps: …
Fri, 02/12/2021 - 13:42

Try the following steps:

  1. Create a new Procedure ( Set item "Wand" in entites <entity> main-hand ).
  2. Open the Triggers tab.
  3. Use the trigger "On initial entity spawn" to run the procedure, you've createdin Step 1.
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Evolving_Code where do you…
Mon, 08/30/2021 - 16:39

@Evolving_Code where do you put this script and what should it say?