Skip to content

Data Models

Pansmith edited this page Jan 3, 2023 · 6 revisions

Data Models are stored in DataModels.json in your */config/DeepMobEvolution folder.

Variables

id: The ID of the data model, used when assigning textures
mod: Optional, will check to see if a mod with this mod ID is loaded, if not, it is disabled.
displayName: The Name that will appear ingame on the data model, deep learner, etc.
displayNamePlural: Optional, use if the plural form of the displayName doesn't follow the standard rule of adding an "s".
livingMatter: The ID of the living matter to be used with this model, refer to the living matter page on how to add custom matter types.
simulationRFCost: Energy cost per tick when simulating this data model.
craftingIngredients: Item(s) used in combination with a blank data model to craft this data model.
associatedMobs: Mob(s) that, when killed, will give this data model data. Can be left blank.
lootItems: Item(s) that can be created with this data model's pristine matter.

trial: This section is optional, use if you want to create a trial with this data model.
entities: Mobs that spawn as part of this trial.
spawnDelay: delay between mob spawns.
rewards: The rewards (in addition to what is defined in tiers) that are earned when completing a trial of this data model.

deepLearnerDisplay: controls what info appears in the Deep Learner for this data model.
hearts: can be set to 0, in which case obfuscated text will appear instead.
mobTrivia: The text that appears as a description in the deep learner.
entity: The mob(s) that appear in the preview window of the deep learner.
entityScale: controls the size of the entity as it appears in the deep learner.
entityOffsetX: controls the offset of the enitiy as it appears in the deep learner.
entityOffsetY: controls the offset of the enitiy as it appears in the deep learner.

Examples

Guardian of Gaia

  {
    "id": "gaiaguardian",
    "displayName": "Guardian of Gaia",
    "livingMatter": "overworldian",
    "simulationRFCost": 2560,
    "craftingIngredients": [
      "botania:manaresource,1,5"
    ],
    "associatedMobs": [
      "botania:doppleganger"
    ],
    "lootItems": [
      "botania:manaresource,6,5"
    ],
    "deepLearnerDisplay": {
      "hearts": 160,
      "mobTrivia": [
        "A powerful guardian.",
        "Can summon minions and remove creative flight."
      ],
      "entity": "botania:doppleganger",
      "entityScale": 48,
      "entityOffsetX": 10,
      "entityOffsetY": 20
    }
  }, 

image of above's result

Enderman

  {
    "id": "enderman",
    "displayName": "Enderman",
    "displayNamePlural": "Endermen",
    "livingMatter": "extraterrestrial",
    "simulationRFCost": 512,
    "craftingIngredients": [
      "minecraft:ender_pearl"
    ],
    "associatedMobs": [
      "minecraft:enderman",
      "minecraft:endermite"
    ],
    "lootItems": [
      "minecraft:ender_pearl,6",
      "minecraft:end_crystal,1",
      "enderio:block_enderman_skull,2"
    ],
    "trial": {
      "entities": "deepmoblearning:trial_enderman",
      "spawnDelay": 2.6,
      "rewards": [
        "deepmoblearning:glitch_heart,5"
      ]
    },
    "deepLearnerDisplay": {
      "hearts": 20,
      "mobTrivia": [
        "Friendly unless provoked, dislikes rain.",
        "Teleports short distances."
      ],
      "entity": "minecraft:enderman",
      "entityScale": 30,
      "entityOffsetX": 5,
      "entityOffsetY": 11
    }
  },

Knockoff Void Ore Miner

An example of not filling in the "mob" tags:

  {
    "id": "overworldores",
    "displayName": "Overworld Ore",
    "livingMatter": "overworldian",
    "simulationRFCost": 1256,
    "craftingIngredients": [
      "minecraft:iron_ore"
    ],
    "associatedMobs": [
      ""
    ],
    "lootItems": [
      "minecraft:coal_ore,24",
	  "minecraft:iron_ore,8",
	  "minecraft:gold_ore,6",
	  "minecraft:lapis_ore,24",
	  "minecraft:redstone_ore,12",
	  "minecraft:diamond_ore,4",
	  "minecraft:emerald_ore,2",
    ],
    "deepLearnerDisplay": {
      "hearts": 0,
      "mobTrivia": [
        "A Knockoff Void Ore Miner.",
        "Who says you need mobs in DME?"
      ],
      "entity": "",
      "entityScale": 48,
      "entityOffsetX": 10,
      "entityOffsetY": 20
    }
  }

image of above's result

image of above's result

Clone this wiki locally