Minecraft PC IP: play.cubecraft.net

bys1

Well-Known Member
Aug 10, 2016
87
39
93
22
Home
Hi,
Does anyone know How to set animal drop chances?
I want to summon a cow with a 100% chance to drop 1 leather and nothing else on death. I've been googling for hours but couldn't find it.
Thanks in advance.
 

bys1

Well-Known Member
Aug 10, 2016
87
39
93
22
Home
......can you read? That's not helping, That's randomly posting a wiki page with stuff even my pet rabbit knows.
I want to SET DROP CHANCES FOR A COW.
 

MagnificentSpam

Forum Expert
Mar 16, 2016
2,306
2,239
298
In vanilla minecraft with commands or as a spigot plugin? I don't know about commands, but it would be pretty easy to do as a plugin by adding a handler for the EntityDeathEvent that checks if the entity was that cow and then clears the drop list and adds 1 leather to it.

Edit:
I noticed that if you put an item in a cows hand, it will not be visible but you can set the drop chance.
This summons a cow that drops an extra leather:
Code:
/summon minecraft:cow ~0 ~1 ~0 {HandItems:[{Count:1,id:leather},{}],HandDropChances:[2.0F,0.0F]}
I don't know how to disable the regular mob loot though.
 
Last edited:

GeldHaftige

Dedicated Member
May 4, 2017
2,500
1,552
228
26
Belgium
There is No lock needed untill the problem is solved.

Otherwise what do you mean? You can contact a Staff member for true and better information
Hij wilt de drop kansen van alle dieren hebben en ik heb hem de link gegeven of ben ik fout?9'
 
Members Online

Team online

Latest posts

Latest profile posts

Eli wrote on llvqs's profile.
I declare your profile officially inaugurated
1000048966.png
i stole this from Reesle
Eli wrote on Flxen's profile.
Flxen appreciation post :)
coolzombiee wrote on Darwin7's profile.
Thank you for the follow! I didn’t notice lol take one back
coolzombiee wrote on Lyriie's profile.
Was community games happening when I saw you , itzjuan, and nightmare in the lobby, with a bunch of other people?
Top Bottom