Custom Ore Config
MeteorCraft supports the use of the LuaBlock system to define custom ore entries that can appear in meteors, using the following schematic:
{
type = "example"
baseWeight = ?
meteorTypes = { --Which meteor types this ore can spawn in. This example lists all four options.
"STONE"
"NETHERRACK"
"END"
"SKYSTONE"
}
oreBlocks = {
{
item = "minecraft:some_block" --The item type, either a namespaced item registry name, or an OreDictionary tag, prefaced with 'ore:'.
}
{
item = "modid:other_block"
relativeWeight = ? --a modifier for how likely this particular block is. Optional.
}
{
item = "ore:oreDictTag"
}
}
}
Block definitions that map to nonexistent items, or to items without a block form (eg if you try and add minecraft:diamond_cake
or leather as an option), will be ignored, and if these are the only specified blocks for this meteor entry definition, the entire entry will be skipped.
Screenshots
Impact
Airburst
Sample Meteors
Defence Gun (RotaryCraft Version)
Radar (RotaryCraft Version)
Configuration Settings
This mod contains several config options to modify values and behaviors - such as for balance or server safety concerns, or simply personal taste - to your preferences. Note that several settings may have bounds imposed on their values, either logically or explicitly; these can usually be seen in the actual settings files or ingame. These are listed in order found in the source code, which is generally the order in which they were added; They may be present in a different order ingame or in the configuration files.
The settings for the mod, when installed, can be found in the 'config/Reika' subfolder of the MC instance.
Overworld Meteor Rarity
Type: int
Current Default Value:
72000
Roughly how many ticks should pass, on average, between meteors in the overworld.
End Meteor Rarity
Type: int
Current Default Value:
72000
72000 is approx one hour.
Twilight Forest Meteor Rarity
Type: int
Current Default Value:
54000
Meteor Rarity in Other Dimensions
Type: int
Current Default Value:
36000
Meteor Ore Density
Type: int
Current Default Value:
40
What % of a meteor should be ore vs "stone-type" block.
Minimum Impactable Y
Type: int
Current Default Value:
-1
What Y level will meteors always explode at. This allows to make only the mountain peaks impactable.
Always Skyburst in Overworld
Type: boolean
Current Default Value:
false
Always Skyburst in Nether
Type: boolean
Current Default Value:
false
Always Skyburst in End
Type: boolean
Current Default Value:
false
Always Skyburst in Twilight Forest
Type: boolean
Current Default Value:
false
Always Skyburst in Other Dimensions
Type: boolean
Current Default Value:
false
Allow Meteor Showers
Type: boolean
Current Default Value:
true
Meteor showers are rare and short periods of dense meteor activity.
Global Airburst Override
Type: boolean
Current Default Value:
false
Set this true to force all meteors to always explode.
Generate Ancient Meteors
Type: boolean
Current Default Value:
true
Whether to generate ancient buried meteors.
Percent of Meteors With Ore
Type: int
Current Default Value:
100
Defence Gun Deletes Meteors Instead of Skyburst
Type: boolean
Current Default Value:
false
Meteor Sound Volume (0.5-2.0)
Type: float
Current Default Value:
1F
Enforce Meteor Type Weights For Small Numbers
Type: boolean
Current Default Value:
false
Whether to keep a record of meteor types so that the distribution is less pure RNG and more tightly follows the configured rates.
Source Code
The source code for MeteorCraft can be found here:
GitHub