This is an old revision of the document!
Example json
- “name”: “Example”, (The name of the mob)
- “creatureType”: “Example”, (Creature type gives it blank)
- “groups”: [ ;
- “Example” (Creature group gives it its AI)
- ], ;
- “entityClass”: “com.lycanitesmobs.core.entity.creature.EntityExample”, (where the actual storage of the java info of the mob is housed)
- “modelClass”: “com.lycanitesmobs.client.model.creature.ModelExample”, (where the actual storage of the Model info of the mob is housed)
- “loadDefault”: true, (makes it so the Default version of this json is reloaded when launching the mod making sure that you don't accidentally mess up your version and giving a handy backup))
- “enabled”: true, (this tells the mod if the creature should be used or not changing this to false will make the creature not spawn)
- “spawning”: { ;
- “enabled”: true, (This tells the mod if this mob should normally spawn in the world)
- “spawners”: [ ;
- “Example” (This tells the mod where the mob will normally spawn in the world)
- ], ;
- “disableSubspecies”: false, (This tells the mod if subspecies should be disabled in the world)
- “dimensionIds”: [ (This tells the mod where subspecies should be disabled (if disabled) in the world)
- -1, ;
- 1 ;
- ], ;
- “dimensionListType”: “blacklist”, (
- “ignoreBiome”: false, (
- “biomes”: [ (
- “Example” ;
- ], ;
- “spawnWeight”: 6, (
- “dungeonWeight”: 200, (
- “spawnAreaLimit”: 5, (
- “spawnGroupMin”: 1,
- “spawnGroupMax”: 3,
- “spawnsInLight”: false,
- “spawnsInDark”: true,
- “worldDayMin”: -1,
- “despawnNatural”: true,
- “despawnForced”: false
- },
- “width”: 0.9,
- “height”: 0.9,
- “experience”: 5,
- “health”: 5,
- “defense”: 0,
- “armor”: 0,
- “speed”: 28,
- “damage”: 1,
- “attackSpeed”: 2,
- “rangedSpeed”: 1,
- “effectDuration”: 5,
- “effectAmplifier”: 0,
- “pierce”: 1,
- “sight”: 24,
- “knockbackResistance”: 0,
- “eggBackColor”: “#537d41”,
- “eggForeColor”: “#dfb752”,
- “subspecies”: [
- {
- “index”: 1,
- “name”: “Example”,
- “type”: “uncommon”
- },
- {
- “index”: 2,
- “name”: “Example2”,
- “type”: “uncommon”
- },
- {
- “index”: 3,
- “name”: “Challenge”,
- “scale”: 3,
- “type”: “rare”
- }
- ],
- “element”: “Example”,
- “diets”: [
- “Example”,
- “Example2”
- ],
- “peaceful”: false,
- “summonable”: true,
- “tameable”: false,
- “mountable”: false,
- “summonCost”: 4,
- “dungeonLevel”: 1,
- “drops”: [ (this section tells the mod what items it should drop and how many)
- {
- “item”: “minecraft:Item”,
- “burningItem”: “minecraft:Item”,
- “minAmount”: 1,
- “maxAmount”: 5,
- “chance”: 1
- },
- {
- “item”: “minecraft:Item”,
- “minAmount”: 1,
- “maxAmount”: 8,
- “chance”: 1
- },
- {
- “item”: “lycanitesmobs:soulstoneExample”,
- “minAmount”: 1,
- “maxAmount”: 1,
- “chance”: 1,
- “subspecies”: 3 (this section restricts this item to a certain subspecies)
- }
- ],
- “sizeScale”: 1, (this section tells the scale size of the model)
- “hitboxScale”: 1 (this section tells the scale size of the hitbox)
- }