Minecraft PC IP: play.cubecraft.net

bys1

Well-Known Member
Aug 10, 2016
87
39
93
23
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
23
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,499
1,552
228
27
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

ユニクロのマイクラコラボの帽子がめちゃくちゃかわいいです。元々緑が好きなのでホントに気に入ってます…Tシャツとかパーカーも売ってたけどさすがに小さいので泣く泣くスルーしました‬(;_;)
Can Any staff member change my birthday Date to 18th July 2011 Please?
NEWS: Summer Event is now in development and it's been confirmed that 5 weeks of Summer is back!
However, the SkyWars Update is moved to the BLOCKED category. In other words, it's delayed (Cam says it's on hiatus, but development resumes soon)
1780775881384.png
AliWarrior wrote on Mivke's profile.
Thanks for the follow!
It's been over 3 years since I reached #1 on the EggWars leaderboard.

Time flies, and I really miss the 2018–2023 Java community.

I never thought I'd miss it this much...
Top Bottom