-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 15w35e
-
None
-
Mac
-
Unconfirmed
When I try to summon a mob the mob drop percentage only works if it is greater than 1.0f, otherwise no drops will spawn.
I tested this by spawning 20 mobs with the seven commands below 1-5 gave me nothing but rotten flesh and the last two gave me 20 iron swords.
I have tried this with four other mob templates, this just details the process by which I tested it. I also completely wiped my Minecraft folder (I only left the save files in there) and tested this on three separate maps.
summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[0.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[0.25f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[0.5f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[0.75f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[1.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[1.5f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]} summon Zombie ~ ~1 ~ {CustomName:"Guard",CustomNameVisible:1, HandDropChances:[2.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],HandItems:[{id:"iron_sword",Count:1,ench:[{id:8,lvl:5},{id:16,lvl:10},{id:12,lvl:2}]},{id:shield,Count:1}],ArmorItems:[{id:"iron_boots",Count:1},{id:"chainmail_leggings",Count:1},{id:"iron_chestplate",Count:1,ench:[{id:3,lvl:2}]},{id:"leather_helmet",Count:1,ench:[{id:0,lvl:5}]}]}
EDIT : I fixed the code area. and made a few clarifications