Examples of addHackable()


Examples of pneumaticCraft.client.render.pneumaticArmor.hacking.HackableHandler.HackingEntityProperties.addHackable()

    public void trackEntity(Entity entity, IHackableEntity iHackable){
        if(iHackable.getId() != null) {
            HackingEntityProperties hackingProps = (HackingEntityProperties)entity.getExtendedProperties("PneumaticCraftHacking");
            if(hackingProps != null) {
                hackingProps.addHackable(iHackable);
            } else {
                Log.warning("Extended entity props HackingEntityProperties couldn't be found in the entity " + entity.getCommandSenderName());
            }
        }
    }
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.