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

  • dvodany
    Yeetrator
  • Camezonda
    Games & Content Manager/Team Ops 🏳️‍🌈
  • Eli
    Moderator & Quality Assurance

Latest profile posts

Quewds wrote on grigorovff's profile.
Happy Birthday friend :D
🎉🎉🎉
Been holding up alright, I wish the same for you all :heart:
An example of the server problem I was talking about. You can see the ping mismatch between my client and what the server says. If I was actually lagging, the ping number on my client would be much higher. The ping spike happened after playing a few matches in the server, which makes it impossible to have a long session without lagging or having to relog.
1787049740474.png
Eli
Do you have doubts about your Map Submission? It's very likely that your question has already been answered! Take a look at these frequently asked questions to learn more about the Map Submission process! https://www.cubecraft.net/threads/map-submission-faq-frequently-asked-questions.415804/
Patsman wrote on stifflered (Tim)'s profile.
Nice to see someone from Ohio on the forums, Congrats and welcome!
Top Bottom