Package pneumaticCraft.client.render.pneumaticArmor.hacking.HackableHandler

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


    public void worldTick(TickEvent.WorldTickEvent event){
        if(event.phase == TickEvent.Phase.END) {
            for(Entity entity : (List<Entity>)event.world.loadedEntityList) {
                HackingEntityProperties hackingProps = (HackingEntityProperties)entity.getExtendedProperties("PneumaticCraftHacking");
                if(hackingProps != null) {
                    hackingProps.update(entity);
                } 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.