This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello, I need some help getting a custom generated mob using MC Stacker to spawn with a custom loot table.
The server is currently on 1.12.2 but we will be updating soon to 1.13.
Below is the JSON file I am working with.
I want the item to drop every time a player kills the entity.
Path: world_folder/data/loot_tables/minecraft/entities/quest_zombiefied.json
{ "pools": [{ "rolls": 1, "entries": [{ "type": "item", "name": "minecraft:rotten_flesh", "weight": 1, "functions": [{ "function": "set_count", "count": { "min": 1, "max": 1 } }, { "function": "looting_enchant", "count": { "min": 1, "max": 1 } }, { "function": "set_nbt", "tag": "{display:{Name:\"Zobmie Flesh\",Lore:[\"Zombie Flesh\"]}}", "count": { "min": 1, "max": 1 } } ] }] }] }
I have used the jsonlint.com to check the file and it looks fine. for testing purposes, you can use the XML code from MC Stacker that I have been trying to set up.
<mode> <commandType>Summon</commandType> <xpos>-191</xpos> <ypos>64</ypos> <zpos>-93</zpos> <relative>0</relative> <entity> <entityType>zombie_villager</entityType> <CustomName>Zombie Miner</CustomName> <IsVillager>1</IsVillager> <IsBaby>0</IsBaby> <VillagerProfession>3</VillagerProfession> <Attributes> <maxhealth>40</maxhealth> </Attributes> <HealF>40</HealF> <yaw>180</yaw> <pitch>0</pitch> <NoAI>1</NoAI> <DeathLootTable>minecraft:quests/zombiefied</DeathLootTable> </entity> </mode>
If someone can take some time to test this out and let me know what I am doing wrong please do help.
1. DeathLootTable should be set to "minecraft:quest_zombiefied".
2. Zombie Flesh (Zobmie Flesh) and zombified (zombiefied) are spelled wrong. Just pointing it out. lol
Hello, I need some help getting a custom generated mob using MC Stacker to spawn with a custom loot table.
The server is currently on 1.12.2 but we will be updating soon to 1.13.
Below is the JSON file I am working with.
I want the item to drop every time a player kills the entity.
Path: world_folder/data/loot_tables/minecraft/entities/quest_zombiefied.json
I have used the jsonlint.com to check the file and it looks fine.
for testing purposes, you can use the XML code from MC Stacker that I have been trying to set up.
If someone can take some time to test this out and let me know what I am doing wrong please do help.
1. DeathLootTable should be set to "minecraft:quest_zombiefied".
2. Zombie Flesh (Zobmie Flesh) and zombified (zombiefied) are spelled wrong. Just pointing it out. lol