Modifiers
hide_obvious
This modifier is used by default, it aims to be fast and efficient. It hides most ores except ores that are exposed to the view of normal people.
The minimum configuration to activate it:
{
Type="hide_obvious"
}
The configuration generated by default:
{
Type="hide_obvious"
Options {
# Blocks that will be hidden by the modifier
Blocks=[
"minecraft:redstone_ore",
"minecraft:portal",
"minecraft:mossy_cobblestone",
"minecraft:diamond_ore",
"minecraft:monster_egg",
"minecraft:end_portal",
"minecraft:mob_spawner",
"minecraft:emerald_ore",
"minecraft:trapped_chest",
"minecraft:end_portal_frame",
"minecraft:lapis_ore",
"minecraft:gold_ore",
"minecraft:chest",
"minecraft:iron_ore",
"minecraft:coal_ore"
]
# The dynamic obfuscation distance, between 0 and 10
Dynamism=4
# The maximum Y of the section to obfuscate
MaxY=255
# The minimum Y of the section to obfuscate
MinY=0
# The block used to replace hidden blocks
Replacement="minecraft:stone[variant=stone]"
}
}
random_block
This modifier is the most efficient against malicious users. It behaves the same way as hide_obvious but in addition it generates random fake ores to hide caves, bases and remaining ores. This one can be a bit slower when first obfuscating because it’s generating thousands of fake ores but will be negligible the remaining of the time thanks to the caching system.
The minimum configuration to activate it:
{
Type="random_block"
}
The configuration generated by default:
{
Type="random_block"
Options {
# Blocks that will be hidden by the modifier
Blocks=[
"minecraft:redstone_ore",
"minecraft:chest",
"minecraft:portal",
"minecraft:emerald_ore",
"minecraft:diamond_ore",
"minecraft:end_portal",
"minecraft:end_portal_frame",
"minecraft:gold_ore",
"minecraft:mossy_cobblestone",
"minecraft:trapped_chest",
"minecraft:mob_spawner",
"minecraft:iron_ore",
"minecraft:lapis_ore",
"minecraft:coal_ore",
"minecraft:stone",
"minecraft:monster_egg"
]
# The maximum Y of the section to obfuscate
MaxY=255
# The minimum Y of the section to obfuscate
MinY=0
# Blocks and their weight used to randomly replace hidden blocks
Replacements {
"minecraft:coal_ore"=1.0
"minecraft:diamond_ore"=1.0
"minecraft:emerald_ore"=1.0
"minecraft:gold_ore"=1.0
"minecraft:iron_ore"=1.0
"minecraft:lapis_ore"=1.0
"minecraft:redstone_ore"=1.0
"minecraft:stone[variant=stone]"=7.0
}
}
}
random_bedrock
In future versions of Minecraft, some hack mods use the patterns of bedrock generated in your world to calculate your seed and then use this seed to know where ores have been generated. This modifier alters the bedrock to prevents them from calculating your seed. For Minecraft 1.16.5 this is not yet necessary.
The minimum configuration to activate it:
{
Type="random_bedrock"
}
The configuration generated by default:
{
Type="random_bedrock"
Options {
# The ground type used to hide real bedrock
Ground="minecraft:stone[variant=stone]"
# The maximum layer where bedrock can be generated
Height=5
}
}
random_vein
This modifier does not hide any ore. Thus, in most cases, it should be applied after an hide_obvious modifier. Instead of hiding ores this modifier generates new veins of ores using the same algorithm as the natural generation to deceive the cheaters.
The minimum configuration to activate it:
{
Type="random_vein"
}
The configuration generated by default:
{
Type="random_vein"
Options {
# Blocks that will be generated by the modifier
Blocks=[
"minecraft:gold_ore",
"minecraft:coal_ore",
"minecraft:iron_ore",
"minecraft:redstone_ore",
"minecraft:diamond_ore",
"minecraft:lapis_ore",
"minecraft:emerald_ore"
]
# The density of generated blocks, between 0.1 and 10
Density=1.0
# The dynamic obfuscation distance, between 0 and 10
Dynamism=4
# The maximum Y of the section to obfuscate
MaxY=128
# The minimum Y of the section to obfuscate
MinY=0
}
}
hide_all
This modifier is really fast but a bit extreme since all ores will be hidden. In most cases, you should prefer the hide_obvious modifier.
The minimum configuration to activate it:
{
Type="hide_all"
}
The configuration generated by default:
{
Type="hide_all"
Options {
# Blocks that will be hidden by the modifier
Blocks=[
"minecraft:redstone_ore",
"minecraft:chest",
"minecraft:portal",
"minecraft:emerald_ore",
"minecraft:diamond_ore",
"minecraft:end_portal",
"minecraft:end_portal_frame",
"minecraft:gold_ore",
"minecraft:mossy_cobblestone",
"minecraft:trapped_chest",
"minecraft:mob_spawner",
"minecraft:iron_ore",
"minecraft:lapis_ore",
"minecraft:coal_ore",
"minecraft:monster_egg"
]
# The maximum Y of the section to obfuscate
MaxY=255
# The minimum Y of the section to obfuscate
MinY=0
# The block used to replace hidden blocks
Replacement="minecraft:stone[variant=stone]"
}
}
These example configurations were generated in the overworld. They might differ in other dimensions.