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

Started by Mr_Alpha on Wed, 11/30/2016 - 03:42

Topic category: Advanced modding

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
[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
Last seen on 13:38, 21. Aug 2018
Joined Oct 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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.

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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.

Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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

Last seen on 20:03, 30. Apr 2019
Joined Jul 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
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.

Last seen on 13:38, 21. Aug 2018
Joined Oct 2016
User points:

Statistics:

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

@#1.1 xXMCXx is right.