跳到正文

Romimoco-Ores

作者:THE_R00STER

Add JSON defined ores and associated items

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Romimoco-Ores is a mini mod to simplify adding custom ores to minecraft.  There are two types of ores that can be added to the game, Ores and Gems.

 

Wiki (In Progress) 

 

Ores:

  • Drops itself when mined
  • Smelts into an ingot
  • Variants smelt into variant ingots
  • Will generate Ore, Ingots, Block, Tools, Armor, Dusts (based on config entries)

Gems ( >= v0.2.0)

  • Drops an Item when mined
  • Unsmeltable (currently)
  • Drops can be custom defined or a string such as “minecraft:diamond” 
  • Will generate Ore, Drops (if custom defined)
  • If the Drop type is “gem”, Tools, Armor, and Blocks will be generated.
  • Custom Drops can have a BurnTime, which is the number of ticks they will burn in a furnace for. 
  • The “cut” of a custom drop will define what it looks like.  Options are ball, chunk1, chunk2, crystal, rhomboid, round, square, teardrop, and trilliant.

 

To generate these blocks and items, simply create an oreDefinitions.json in your config/Romimoco/ores directory.

 

An oreDefinitions.json looks like this:

{
  "OreList": [
    {
      "Name" : "iron",
      "Color": "0xF3D1BB",
      "Hardness":"3",
      "Harvestlevel":"2",
      "Generation":{
        "MinY": 5,
        "MaxY": 67,
        "SpawnChance": 5,
        "VeinSize": 12
      },
      "ItemStats": {
        "Efficiency": 10.0,
        "Damage": 2,
        "ArmorClass": 1,
        "Toughness": 0,
        "Enchantability": 9,
        "DurabilityMod": 15
      }
    },
    {
      "Name" : "gold",
      "Color": "0xFFEE00",
      "Hardness":"2",
      "Harvestlevel":"2",
      "Generation":{
        "MinY": 5,
        "MaxY": 34,
        "SpawnChance": 3,
        "VeinSize": 8
      },
      "ItemStats": {
        "Efficiency": 8.0,
        "Damage": 3,
        "ArmorClass": 1,
        "Toughness": 2,
        "Enchantability": 10,
        "DurabilityMod": 7
      }
    }
  ],
  "GemList":[
    {
      "Name" : "diamond",
      "Color": "0x1589ff",
      "Hardness":"4.5",
      "Harvestlevel":"3",
      "Drops":"minecraft:diamond",
      "Generation":{
        "Rarities":{
          "Poor":50,
          "Low":25,
          "Moderate":10,
          "High":10,
          "Rich":5
        },
        "MinY": 5,
        "MaxY": 16,
        "SpawnChance": 5,
        "VeinSize": 8
      },
      "ItemStats": {
        "Efficiency": 12.0,
        "Damage": 0,
        "ArmorClass": 1,
        "Toughness": 0,
        "Enchantability": 10,
        "DurabilityMod": 33
      }
    },
    {
      "Name" : "emerald",
      "Color": "0x00FF00",
      "Hardness":"4.5",
      "Harvestlevel":"3",
      "Drops":"minecraft:emerald",
      "Generation":{
        "MinY": 5,
        "MaxY": 32,
        "SpawnChance": 5,
        "VeinSize": 4,
        "Biomes": [
          "extreme_hills",
          "smaller_extreme_hills",
          "extreme_hills_with_trees",
          "mutated_extreme_hills",
          "mutated_extreme_hills_with_trees"
        ]
      }
    },
    {
      "Name" : "coal",
      "Color": "0x000000",
      "Hardness":"1",
      "Harvestlevel":"1",
      "Drops":"minecraft:coal",
      "Generation":{
        "MinY": 5,
        "MaxY": 132,
        "SpawnChance": 5,
        "VeinSize": 24
      }
    },
    {
      "Name" : "lapis",
      "Color": "0x0000FF",
      "Hardness":"3",
      "Harvestlevel":"2",
      "Drops":"minecraft:dye/4",
      "Generation":{
        "MinY": 14,
        "MaxY": 34,
        "SpawnChance": 5,
        "VeinSize": 12
      }
    },
    {
      "Name": "redstone",
      "Color": "0xFF0000",
      "Hardness": "3",
      "Harvestlevel": "3",
      "Drops": "minecraft:redstone",
      "Generation": {
        "MinY": 5,
        "MaxY": 16,
        "SpawnChance": 5,
        "VeinSize": 12
      }
    },
    {
      "Name" : "ruby",
      "Color": "0xff0000",
      "Hardness":"2.2",
      "Harvestlevel":"4",
      "Drops":{
        "Type":"gem",
        "Cut":"round"
      }
    }
  ]
}
<br /><br />

常见问题

Romimoco-Ores 支持哪些 Minecraft 版本?

Romimoco-Ores 支持 Minecraft Java 版 1.12–1.12.2,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Romimoco-Ores 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分