[RESOLVED] Rare Drop Not Dropping, Even After Code Adjust

Started by Mr_Alpha on

Topic category: Advanced modding

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[RESOLVED] Rare Drop Not Dropping, Even After Code Adjust
Wed, 11/30/2016 - 22:53 (edited)

Hey all,

 

I'm in the process of updating my Thousand Worlds mod, and I've noticed after killing a ton of the mob I created they never dropped their rare drop, redstone dust. I went into the code and changed it so neither drop was classified as "rare" but I spawned a bunch of the mobs, executed the command "/kill @e[type=TestEnvironmentMod.cyborgZombie]" (which did kill them all) and then "/kill @e[type=Item]" (which got  rid of all of the item gems). However, when I scrolled through what all was killed I didn't see a single restone. A lot of rotten flesh, a few eggs but no redstone. See screenshot at link below.

 

Case and point: Help me fix my second drop so that it actually WORKS (somehow) please.

 

Thanks,

  Mr_Alpha

 

http://pasteboard.co/40PO9SOFi.png

Edited by Mr_Alpha on Wed, 11/30/2016 - 22:53
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do they use the Zombie AI? If
Wed, 11/30/2016 - 14:37

Do they use the Zombie AI? If they did, that might be the reason they drop rotten flesh.

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Do they use the Zombie AI? If
Wed, 11/30/2016 - 20:38

@#1 No, it's a custom AI and dropping rotten flesh was a choice by me because they are Cyborg ZOMBIES. Thanks though.

Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On the events page, use the
Wed, 11/30/2016 - 21:14

On the events page, use the "When mob is KIlled" and use the 'Random Drop event" you can change the percentage of the drop... 

 

Watch this video on exactl how to do this, this will allow the drops to be just like the "Rare drop" options, but its more customizable.

https://www.youtube.com/watch?v=veF5QOzVTd4&t=12s

 

Sub for more tutorials to. :D

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:On the events page, use the
Wed, 11/30/2016 - 21:22

@#2 Yeah, I never thought of it that way. That should work. Thanks.

Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:RE:Do they use the Zombie AI? If
Thu, 12/01/2016 - 00:18

@#1.1 xXMCXx is right.