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)

Active 4 years ago
Joined Oct 2020
Points:
661

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 15
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

Active 3 years ago
Joined Feb 2020
Points:
804

User statistics:

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

Active 4 years ago
Joined Apr 2019
Points:
701

User statistics:

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

You can add handheld layer via custom code.

Active 1 month ago
Joined Nov 2020
Points:
1014

User statistics:

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

Could you elaborate @Evolving_Code

Active 2 years ago
Joined Oct 2019
Points:
806

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 209
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
Active 2 years ago
Joined Oct 2019
Points:
806

User statistics:

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

Btw, sry 4 my weird grammar lol.

Active 2 years ago
Joined Oct 2019
Points:
806

User statistics:

  • Modifications: 0
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 209
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.
Active 1 year ago
Joined Feb 2021
Points:
636

User statistics:

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

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