Advertisement
Guest User

chicken drop code

a guest
May 29th, 2015
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. protected void dropFewItems(boolean p_70628_1_, int p_70628_2_)
  2. {
  3. int j = this.rand.nextInt(3) + this.rand.nextInt(1 + p_70628_2_);
  4.  
  5. for (int k = 0; k < j; ++k)
  6. {
  7. this.dropItem(Items.feather, 1);
  8. }
  9.  
  10. if (this.isBurning())
  11. {
  12. this.dropItem(Items.cooked_chicken, 1);
  13. }
  14. else
  15. {
  16. this.dropItem(Items.chicken, 1);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement