I made a mob with Blaze AI and he drops a blaze rod instead of my custom item ?!

Started by Driphano450 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made a mob with Blaze AI and he drops a blaze rod instead of my custom item ?!

So I made a mob that is similar to the Blaze with the Blaze AI but the mob drops a blaze rod instead of my custom drop that I have assigned.

I checked the code and I can't understand why it keeps dropping the bad item. Here is the drops line :

@Override
        protected Item getDropItem() {
            return new ItemStack(MCreatorBlowzePowder.block, (int) (1)).getItem();
        }

 

So could someone help me to find why that doesn't work ? Thanks.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I still use skeleton ai for…
Fri, 01/24/2020 - 09:55

I still use skeleton ai for my ranged mobs until better ranged weapons and mobs are implemented.

At least that mob is still a skeleton :)