premium banner
Adds natural coal ore generation with smaller, more realistic vein sizes. With custom ore configuration.

Description

Natural Coal Ore

Natural Coal Ore adds natural coal ore spawning to your Hytale world. Coal veins generate automatically in newly explored chunks with smaller, scattered veins instead of massive clusters. Ore appears between Y=10 and Y=120 by default.

Fully configurable - adjust vein size, spawn rates, and more through a simple JSON config file. Includes creative mode commands for manual ore spawning and testing.

This mod also add new recipes for charcoal and new items like Crushed Coal that can be made in salvage workbench.

Zone & Biome Restrictions 🗺️

Ores can now be restricted to specific zones and biomes!

Recipes that this mods adds:

any woodtrunk can be smelted into charcoal.

Ingredient_Stick can be smelted into charcoal.

Ore_Coal can be Salvage into Coal_Dust in Salvage Bench

Installation:

add the jar file to UserData/Mods

Configuration


Configuration Setup

Navigate to your Hytale UserData folder:

   %APPDATA%\Hytale\UserData\Mods\NaturalCoalOre\Config\

Create a file named CoalOre.json with the following content:

{
"CoalFuelQuality": 8.0,
 "EnableCharcoalByproduct": true,
"MinY": 10,
"MaxY": 120,
"VeinsPerChunk": 20,
"MinVeinSize": 6,
"MaxVeinSize": 17,
"SpawnChance": 0.85,
"EnableNaturalGeneration": true,
"AllowedZones": [],
"AllowedBiomes": [],
"CustomOres": []
}

Default (no custom ores):

"CustomOres": []

To add a custom ore:

 
"CustomOres": [
  {
    "OreName": "Ore_Lead_Volcanic",
    "ReplacesBlocks": [
      "Rock_Stone",
      "Rock_Stone_Cobble",
      "Rock_Stone_Mossy",
      "Soil_Mud_Dry",
      "Rock_Volcanic_Cracked_Lava",
      "Rock_Volcanic"
    ],
    "MinY": 26,
    "MaxY": 50,
    "VeinsPerChunk": 15,
    "SpawnChance": 0.65,
    "MinVeinSize": 3,
    "MaxVeinSize": 4,
"AllowedZones": [],
"AllowedBiomes": [] } ]

You can also add multiple custom ores by adding more entries to the array!

To add to AllowedZones and AllowedBiomes Example:

  "AllowedZones": [
    "Zone1_Spawn",
    "Zone2_Tier1"
  ],
  "AllowedBiomes": [
    "Plains_Spawn",
    "Forest_Birch"
  ]

To see all the zone IDS: https://github.com/daniGreat/Natural-Coal-Ore/blob/master/zone-name-and-biome

How it works:

  • Empty AllowedZones = spawns in ALL zones
  • Empty AllowedBiomes = spawns in ALL biomes
  • Specify zones/biomes to restrict where ores can spawn

Start the game - the config will be loaded automatically
if you didnt create custom folder and file it will use the default values.

Setting Description
MinY / MaxY Depth range where coal spawns
VeinsPerChunk Number of veins per chunk
MinVeinSize / MaxVeinSize Blocks per vein (min-max)
SpawnChance Chance for chunk to contain coal (0.0 - 1.0)
EnableNaturalGeneration Toggle ore generation on/off

EnableCharcoalByProduct   Toggle Charcoal byProduct on or off

Commands (Creative Mode)

  • /coalore spawn [size] - Spawn a vein at your location
  • /coalore generate [radius] [count] - Generate multiple veins in an area
  • /coalore fill [radius] - Fill underground area with veins
  • /coalore reload - Reload config without restartings