Minecraft PC IP: play.cubecraft.net

bys1

Well-Known Member
Aug 10, 2016
87
39
93
21
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
21
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,238
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
25
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

Members online

Latest posts

Latest profile posts

4Moonlightt wrote on Catss's profile.
Thank you for everything <3
TheOrderOfSapphire wrote on acazly's profile.
Welcome to the Cubecraft forums!:D I hope you will have an awesome stay here and if you need help can you text staff or me ^-^
Sergiio12 wrote on Gregeyy's profile.
Gregorios, que tal
Thjis wrote on Critly's profile.
Gefeliciteerd!
Thanks everyone for the birthday wishes, means a lot! :D
Top Bottom