Topic category: Help with Minecraft modding (Java Edition)
Hello, i am making a custom mob called 'WarpedSkeletonMob' and made a loot table for the mob with this loot table registry name
'entities/warped_skeleton_mob' selected the 'mod' and the 'Entity' added 7-8 items to drop but didnt drop anything.
Here is the .json for the loot table.
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bread",
"weight": 98
},
{
"type": "minecraft:item",
"name": "minecraft:iron_ingot",
"weight": 94
},
{
"type": "minecraft:item",
"name": "minecraft:arrow",
"weight": 99
},
{
"type": "minecraft:item",
"name": "minecraft:gold_ingot",
"weight": 94
},
{
"type": "minecraft:item",
"name": "minecraft:bone",
"weight": 99
},
{
"type": "minecraft:item",
"name": "hysteria:magnite_scrap_ingot",
"weight": 15
},
{
"type": "minecraft:item",
"name": "hysteria:skull_ingot_item",
"weight": 1
}
]
}
]
}
The namespace of your loot table has to be your mod id.
I only have 'mod' and 'minecraft' in the dropdown menu in 'loot table namespace' or i need to change in the .json file?
Couldn't load loot table hysteria:entities/warpedfrostyskeleton from jar:file:/C:/MCreatorWorkspaces/skeleton/build/libs/modid-1.0.jar!/assets/hysteria/loot_tables/entities/warpedfrostyskeleton.json
com.google.gson.JsonParseException: Loot Table "hysteria:entities/warpedfrostyskeleton" Missing `name` entry for pool #0
Also when i want to edit the loot table the registry name for the mob textbox greys out.