Package codechicken.lib.asm.ModularASMTransformer

Examples of codechicken.lib.asm.ModularASMTransformer.MethodReplacer


        tweaks.removeTag("persistantLava");

        if (tweaks.getTag("environmentallyFriendlyCreepers")
                .setComment("If set to true, creepers will not destroy landscape. (A version of mobGriefing setting just for creepers)")
                .getBooleanValue(false)) {
            transformer.add(new MethodReplacer(new ObfMapping("net/minecraft/entity/monster/EntityCreeper", "func_146077_cc", "()V"),
                    blocks.get("d_environmentallyFriendlyCreepers"), blocks.get("environmentallyFriendlyCreepers")));
        }

        if (!tweaks.getTag("softLeafReplace")
                .setComment("If set to false, leaves will only replace air when growing")
View Full Code Here

TOP

Related Classes of codechicken.lib.asm.ModularASMTransformer.MethodReplacer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.