Make Enderman hold custom block

Started by Trehmor on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Feb 2020
Points:
832

User statistics:

  • Modifications: 0
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
Make Enderman hold custom block

I want to spawn an enderman holding a custom block from my mod, but when i put the command (/summon enderman ~ ~ ~ {carriedBlockState:{Name:plasmablock}}) it spawns the enderman without the block :c

Active 4 years ago
Joined Jun 2020
Points:
708

User statistics:

  • Modifications: 3
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 65
I think the only way to get…
Wed, 08/26/2020 - 23:34

I think the only way to get an enderman to hold your block is by editing the enderman code. 

Active 3 weeks ago
Joined May 2018
Points:
1100

User statistics:

  • Modifications: 8
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
Nope, create a tag called…
Tue, 09/29/2020 - 02:19

Nope, create a tag called enderman_holdable, set the namespace to minecraft so it knows you're modifying a vanilla tag, and add your block to it.

Active 7 months ago
Joined Feb 2020
Points:
832

User statistics:

  • Modifications: 0
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
This way i can see the block…
Tue, 09/29/2020 - 04:11

This way i can see the block the enderman is holding in the hands?

Active 3 weeks ago
Joined May 2018
Points:
1100

User statistics:

  • Modifications: 8
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
Yes. Check the wiki page on…
Wed, 09/30/2020 - 16:40

Yes. Check the wiki page on custom tags, it'll explain better than I can.