Package codechicken.lib.asm.ModularASMTransformer

Examples of codechicken.lib.asm.ModularASMTransformer.MethodWriter


        }

        if (!tweaks.getTag("softLeafReplace")
                .setComment("If set to false, leaves will only replace air when growing")
                .getBooleanValue(false)) {
            transformer.add(new MethodWriter(ACC_PUBLIC, new ObfMapping("net/minecraft/block/Block", "canBeReplacedByLeaves", "(Lnet/minecraft/world/IBlockAccess;III)Z"), blocks.get("softLeafReplace")));
        }

        if (tweaks.getTag("doFireTickOut")
                .setComment("If set to true and doFireTick is disabled in the game rules, fire will still dissipate if it's not over a fire source")
                .getBooleanValue(true)) {
View Full Code Here

TOP

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

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.