Fast Block Place Mod 1.8.9 Info

private static class PatchClickBlock extends MethodVisitor { public PatchClickBlock(MethodVisitor mv) { super(Opcodes.ASM4, mv); }

@Override public byte[] transform(String name, String transformedName, byte[] basicClass) { if (basicClass == null) return null; if (transformedName.equals("net.minecraft.client.multiplayer.PlayerControllerMP")) { LOGGER.info("Patching PlayerControllerMP for fast block place"); return patchPlayerControllerMP(basicClass); } return basicClass; } fast block place mod 1.8.9

jar { manifest { attributes( 'FMLCorePlugin': 'com.example.fastblockplace.Plugin', 'FMLCorePluginContainsFMLMod': 'true', 'FMLAT': 'fastblockplace_at.cfg' ) } } logger.info("FastBlockPlace Mod is initializing (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 ). } @Override public byte[] transform(String name

@Override public String getAccessTransformerClass() { return null; } } { "modid": "fastblockplace", "name": "Fast Block Place", "description": "Removes the delay between placing blocks. Place blocks as fast as you can click!", "version": "1.0", "mcversion": "1.8.9", "url": "", "updateUrl": "", "authorList": ["YourName"], "credits": "ASM Patch for 1.8.9", "logoFile": "", "screenshots": [], "dependencies": [] } 5. build.gradle (ForgeGradle Setup) buildscript { repositories { jcenter() maven { url = "https://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.tweaker-client' apply plugin: 'java'

repositories { mavenCentral() }

@Mod.EventHandler public void preInit(FMLPreInitializationEvent event) { logger = event.getModLog(); logger.info("FastBlockPlace Mod is initializing (1.8.9)"); }