Package pneumaticCraft.api.client.pneumaticHelmet

Examples of pneumaticCraft.api.client.pneumaticHelmet.IHackableBlock.canHack()


        IHackableBlock hackable = getInstance().trackedHackableBlocks.get(new WorldAndCoord(world, x, y, z));
        if(hackable == null) {
            if(!PneumaticCraftAPIHandler.getInstance().hackableBlocks.containsKey(block)) return null;
            try {
                hackable = PneumaticCraftAPIHandler.getInstance().hackableBlocks.get(block).newInstance();
                if(hackable.canHack(world, x, y, z, player)) {
                    getInstance().trackedHackableBlocks.put(new WorldAndCoord(world, x, y, z), hackable);
                } else {
                    hackable = null;
                }
            } catch(Exception e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.