ModsReleasedSpecial MobsUtility MobsLava MonstersLost BooksCustom Chest LootNatural AbsorptionPlayer HeadsUnreleasedMob PropertiesDeadly WorldDungeon CrawlerLoot ModDiscontinuedHealth BarsRecentLatest ModsNatural AbsorptionMob PropertiesRecently Changed PagesToast WikiSpecial MobsCustom Chest LootMob PropertiesSpecial AIObsidian golemScarecrowMost Visited PagesUtility MobsMob PropertiesObsidian ColossusSpecial AIStone ColossusSniper turretArmored ColossusCommunityRecent blog postsTop UsersJamesmalviSoilMC
9 Posts
Avatar
All Contributors
No replies yet.

Missing function name! crash

Whenever I make even the simplest of edits to a mob properties json file the game crashes saying its missing a function at line X.  Can someone point out my error in this code or explain why this crash is happening (I'm new to modded):

{
"_name": "EnderDragon",
"drops": [

],
"pre_stats": [

],
"stats": [
{    “function”: “modifier”,
“attribute”: “generic.maxHealth”,
   “value”: 1,
   “operator”: 1
} ]
}

As far as I can tell this should double the ender dragons max health.

The game tells me, Missing function name! at ~/Application Support/minecraft/config/MobProperties/EnderDragon.json\stats\entry_1

0 0
  • Upvote
  • Reply
No replies yet. Be the first!