A bookmarklet is a snippet of JavaScript code saved as a browser bookmark. When you click it on the Eaglercraft page, it injects code that modifies the game's renderer.
How it works: The code overwrites the shouldSideBeRendered() function. In normal Minecraft, a stone block facing another stone block does not render the touching side (for performance). The Xray bookmarklet forces the game to render every side, but then makes solid blocks invisible. xray hacks for eaglercraft
Sample Code (Conceptual – Do not copy directly): A bookmarklet is a snippet of JavaScript code
javascript:(function()
// Override rendering function for Eaglercraft 1.8
RenderBlocks.prototype.renderBlockFull = function(block, x, y, z)
if(block.blockMaterial != Material.rock)
// Render ore blocks
this.renderStandardBlock(block, x, y, z);
)();
How to Use a Bookmarklet Hack:
Warning: This method is highly unstable. Eaglercraft updates break these scripts quickly. Furthermore, many servers have anti-cheat plugins that detect modified rendering and instantly ban you. How to Use a Bookmarklet Hack:
Some Eaglercraft single-player worlds support simple mods that highlight caves without making stone invisible. This is a fair middle ground.
If you want diamonds faster in Eaglercraft without hacks, try these legitimate methods.