Package pneumaticCraft.api.client.pneumaticHelmet

Examples of pneumaticCraft.api.client.pneumaticHelmet.IEntityTrackEntry$EntityTrackEntry


    public static List<IEntityTrackEntry> getTrackersForEntity(Entity entity){
        List<IEntityTrackEntry> trackers = new ArrayList<IEntityTrackEntry>();
        for(IEntityTrackEntry tracker : trackEntries) {
            if(tracker.isApplicable(entity)) {
                try {
                    IEntityTrackEntry newTracker = tracker.getClass().newInstance();
                    newTracker.isApplicable(entity);//just as an initializer.
                    trackers.add(newTracker);
                } catch(Exception e) {
                    //Shouldn't happen, as we tried it in the init().
                    e.printStackTrace();
                }
View Full Code Here

TOP

Related Classes of pneumaticCraft.api.client.pneumaticHelmet.IEntityTrackEntry$EntityTrackEntry

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.