Happy (controversial) mining!
BlockRenderer.shouldRenderFace = function(block, side) // List of ore IDs for your version const ores = [14, 15, 16, 21, 56, 73, 74, 129]; if (ores.includes(block.id)) return true; // Always render ores if (block.isOpaque()) return false; // Hide stone, dirt, etc. return true; // Render air, water, glass xray hacks for eaglercraft high quality
Eaglercraft has revolutionized the Minecraft community. It is a genuine replica of Minecraft 1.5.2 (and more recently 1.8.8) that runs directly inside a web browser using JavaScript and WebGL. No downloads, no servers to install—just a URL and you are playing. Happy (controversial) mining
BlockRenderer.shouldRenderFace = function(block, side) return block.isOpaque(); It is a genuine replica of Minecraft 1
Modified high-quality version:
But with this unique architecture comes a unique set of possibilities for cheating. Traditional Minecraft X-Ray mods (which rely on editing Java class files or using Forge) do not work on Eaglercraft.
Stick to the resource pack method or use a pre-made console script from GitHub. You'll sacrifice quality, but you'll save hours of debugging JavaScript.