This is an old revision of the document!
Example json
- “name”: “Example”, (The name of the Creature)
- “creatureType”: “Example”, (Creature type gives it the beastiary category and what treats it will eat)
- “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 Creature is housed)
- “modelClass”: “com.lycanitesmobs.client.model.creature.ModelExample”, (where the actual storage of the Model info of the Creature 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 Creature should normally spawn in the world)
- “spawners”: [
- “Example” (This tells the mod where the Creature 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”, (this is the dimension blacklist section)
- “ignoreBiome”: false, (if this is true then the following sections are blacklisted)
- “biomes”: [ (this is the section where it tells the creature what biomes to spawn in)
- “Example”
- ],
- “spawnWeight”: 6, (the chance that the next creature spawned will be this creature)
- “dungeonWeight”: 200, (the chance that the next creature spawned in a dungeon will be this creature)
- “spawnAreaLimit”: 5, (the limit of this creature in a certain area)
- “spawnGroupMin”: 1, (the minimum number of this creature in a group)
- “spawnGroupMax”: 3, (the maximum number of this creature in a group)
- “spawnsInLight”: false, (this tell the mod if this creature can spawn in light)
- “spawnsInDark”: true, (this tell the mod if this creature can spawn in dark)
- “worldDayMin”: -1, (this tell the mod how many in-game days before this creature can spawn)
- “despawnNatural”: true, (this tell the mod if this creature will despawn naturally)
- “despawnForced”: false (this tell the mod if this creature will despawn via commands or console)
- },
- “width”: 0.9, (this is the creatures width relative to its model)
- “height”: 0.9, (this is the creatures height relative to its model)
- “experience”: 5, (this is the creatures experience it gives upon death)
- “health”: 5, (this is the creatures health)
- “defense”: 0, (this is the creatures natural defense)
- “armor”: 0, (this is the creatures armor points)
- “speed”: 28, (this is the creatures movement speed)
- “damage”: 1, (this is the creatures damage it does on attacks)
- “attackSpeed”: 2, (this is the creatures attack rate of its melee attacks)
- “rangedSpeed”: 1, (this is the creatures fire rate of its ranged attacks)
- “effectDuration”: 5, (this is the creatures duration of any effects it gives you)
- “effectAmplifier”: 0, (this is the creatures this is the tier of the effect the mob gives on attack)
- “pierce”: 1, (this is the creatures ability to pierce armor)
- “sight”: 24, (this is the creatures Aggressive range)
- “knockbackResistance”: 0, (this is the creatures knockback resistance)
- “eggBackColor”: “#537d41”, (this is the color of the spawn eggs bottom layer)
- “eggForeColor”: “#dfb752”, (this is the color of the spawn eggs top layer)
- “subspecies”: [ (this is the section where info about subspecies are stored)
- {
- “index”: 1, (this tells the mod what to register this subspecies as in commands)
- “name”: “Example”, (this is the name of the subspecies)
- “type”: “uncommon” (this is the type of subspecies the creature will be)
- },
- {
- “index”: 2,
- “name”: “Example2”,
- “type”: “uncommon”
- },
- {
- “index”: 3,
- “name”: “Challenge”, (this is the name of the subspecies this one means it will be a more difficult subspecies)
- “scale”: 3, (this is the size at which this subspecies will spawn)
- “type”: “rare” (this is a rare type its normally used for special creatures such as event Creatures or challenge bosses)
- }
- ],
- “element”: “Example”, (this is the elemental magic that the creature is made up of)
- “diets”: [ (this is the section that tells the mod what types of diets to tell the creature to eat)
- “Example”, (what diet to tell the creature it can eat from)
- “Example2”
- ],
- “peaceful”: false, (tells the mod if this creature is peaceful or not)
- “summonable”: true, (tells the mod if this creature is summonable or not)
- “tameable”: false, (tells the mod if this creature is tameable or not)
- “mountable”: false, (tells the mod if this creature is mountable or not)
- “summonCost”: 4, (the summoning mana required to summon 1 of this creature)
- “dungeonLevel”: 1, (the level of a dungeon the creature will spawn at)
- “drops”: [ (this section tells the mod what items it should drop and how many)
- {
- “item”: “minecraft:Item”, (the item it will drop upon death)
- “burningItem”: “minecraft:Item”, (the item to drop if the creature is on fire instead of the normal item)
- “minAmount”: 1, (the minimum amount that this item can drop of)
- “maxAmount”: 5, (the maximum amount that this item can drop of)
- “chance”: 1 (the chance from .1 to 1 of it dropping the item .1=1% and 1=100%)
- },
- {
- “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)
- }