Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

While doing a lot of mining obfuscated blocks appear #22

@BrainStone

Description

@BrainStone

When player do lots of mining sometimes they can see the obfuscated blocks. When they rejoin it's all fine.

I use this config:

Config {
    # Enable or disable caching fake chunks on disk
    Cache=true
    Deobfuscation {
        # Radius to deobfuscate on natural block update, between 1 and 4
        NaturalRadius=1
        # Radius to deobfuscate on player block update, between 1 and 4
        PlayerRadius=2
    }
    # Enable or disable AntiXray in this world
    Enabled=true
    # Temporary obfuscation when modifiers are not ready yet
    Preobfuscation {
        # Blocks that will be hidden by the modifier
        Blocks=[
            "minecraft:emerald_ore",
            "minecraft:gold_ore",
            "minecraft:iron_ore",
            "minecraft:lapis_ore",
            "minecraft:diamond_ore",
            "minecraft:redstone_ore",
            "minecraft:coal_ore"
        ]
        # Enable or disable preobfuscation in this world
        Enabled=false
        # The block used to replace hidden blocks
        Replacement="minecraft:stone[variant=stone]"
    }
    # The seed used by the modifier, shouldn't be modified
    Seed=-4700353378019659133
}
Modifiers=[
    {
        Id=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
        }
    },
    {
        Id=random
        Options {
            # Blocks that will be hidden by the modifier
            Blocks=[
                "minecraft:emerald_ore",
                "minecraft:gold_ore",
                "minecraft:iron_ore",
                "minecraft:lapis_ore",
                "minecraft:diamond_ore",
                "minecraft:redstone_ore",
                "minecraft:obsidian",
                "minecraft:gravel",
                "minecraft:coal_ore",
                "minecraft:stone[variant=diorite]",
                "minecraft:stone[variant=stone]",
                "minecraft:stone[variant=granite]",
                "minecraft:dirt[snowy=false,variant=dirt]",
                "minecraft:stone[variant=andesite]"
            ]
            # Blocks and their weight used to randomly replace hidden blocks
            Replacements {
                "minecraft:coal_ore"=1.0
                "minecraft:diamond_ore"=1.0
                "minecraft:dirt[snowy=false,variant=dirt]"=1.0
                "minecraft:emerald_ore"=1.0
                "minecraft:gold_ore"=1.0
                "minecraft:gravel"=1.0
                "minecraft:iron_ore"=1.0
                "minecraft:lapis_ore"=1.0
                "minecraft:obsidian"=1.0
                "minecraft:redstone_ore"=1.0
                "minecraft:stone[variant=andesite]"=1.0
                "minecraft:stone[variant=diorite]"=1.0
                "minecraft:stone[variant=granite]"=1.0
                "minecraft:stone[variant=stone]"=7.0
            }
        }
    }
]
Version=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions