Orebfuscation: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(reword again)
(rewrite random blocks)
Line 14: Line 14:
=== Random Blocks ===
=== Random Blocks ===


Although only a small portion of blocks are visible to a player at a time, Minecraft sends block data about every nearby block, even those completely occluded from view. As further obfuscation, orebfuscator will visually replace these hidden blocks with random other blocks. Since the blocks visually replaced in this way are hidden from view, a normal player will not see this mechanic at play.{{Mechanics}}
Even with block hiding, there can be tell-tale signs of civilization or defensive infrastructure, such as long dug-out tunnels or a box of (what appears to be) stone. To guard against this, Orebfuscator also fills the world with fake random valuable blocks underneath the surface, to make it more difficult for x-rayers to see through these blocks.

Blocks that are rendered underground in this fashion typically include every kind of ore, air, cobblestone, mossy cobblestone, stone, obsidian, tnt, and clay.

Unless you're x-raying, you should never see these hidden fake blocks. The one exception is if you mine while the server is lagging - sometimes the server can't send you the true value of a block before you break a block next to it and expose it, resulting in the display of random hidden blocks.

== Effectiveness ==
Orebfuscator is generally considered effective against players who x-ray. However, it is not completely effective, as x-ray may still allow players to see nearby blocks that would otherwise be blocked from sight.{{Mechanics}}

Revision as of 22:35, 17 November 2023

Orebfuscation (from ore and obfuscation) is a common mechanic on civ servers which visually replaces certain blocks with others until a player comes within a certain distance, as a protection against x-ray. Usually, blocks obscured in this way include chests, snitches, and obsidian, and are rendered as stone. This replacement prevents x-ray from being able to find hidden infrastructure such as bunkers, as all they will see from a distance is natural blocks.

Orebfuscation is applied by the Orebfuscator plugin. Orebfuscator is one of the few plugins commonly used on civ servers that was not written specifically for civ as a genre.

Mechanics

Proximity Rendering

Until a player comes within a certain distance, Orebfuscator visually replaces certain blocks with others. Blocks obscured in this way usually include blocks that are used in defensive infrastructure, farms, bases, or anything else a player may want to keep hidden.

When a player comes within a certain radius (varies by server, but usually around 8 blocks) of these blocks, they are rendered as their normal block. Even if the player moves outside of the radius, they will keep their normal appearance until the player unloads the chunk.

Random Blocks

Although only a small portion of blocks are visible to a player at a time, Minecraft sends block data about every nearby block, even those completely occluded from view. As further obfuscation, orebfuscator will visually replace these hidden blocks with random other blocks. Since the blocks visually replaced in this way are hidden from view, a normal player will not see this mechanic at play.