Mod 1.8.9: Fast Block Place
@Mod(modid = FastBlockPlaceMod.MODID, version = FastBlockPlaceMod.VERSION, clientSideOnly = true) public class FastBlockPlaceMod { public static final String MODID = "fastblockplace"; public static final String VERSION = "1.0"; public static Logger logger;
minecraft { version = "1.8.9-11.15.1.2318-1.8.9" runDir = "run" mappings = "stable_20" } fast block place mod 1.8.9
@Mod.EventHandler public void init(FMLInitializationEvent event) { logger.info("FastBlockPlace Mod enabled – block placing delay removed"); } } This patches net.minecraft.client.multiplayer.PlayerControllerMP method clickBlock to remove the 4 tick cooldown ( blockHitDelay ). @Mod(modid = FastBlockPlaceMod
package com.example.fastblockplace; import net.minecraft.launchwrapper.IClassTransformer; import org.objectweb.asm.*; @Mod(modid = FastBlockPlaceMod.MODID
repositories { mavenCentral() }
@Override public void visitVarInsn(int opcode, int var) { // Remove the line: this.blockHitDelay = 4; if (opcode == Opcodes.BIPUSH && var == 4) { // Skip the bipush 4 super.visitInsn(Opcodes.POP); // Remove the push LOGGER.info("Patched: removed blockHitDelay = 4"); return; } super.visitVarInsn(opcode, var); }
