Package denoflionsx.DenPipes.AddOns.Core.Pipe

Examples of denoflionsx.DenPipes.AddOns.Core.Pipe.DenItemPipe


            }
        }catch(Throwable t){
            t.printStackTrace();
        }
        int itemID = this.getIDForPipe(Class);
        DenItemPipe pipe = new DenItemPipe(itemID);
        BlockGenericPipe.pipes.put(pipe.itemID, Class);
        String name = "";
        for (Annotation a : Class.getDeclaredAnnotations()) {
            if (a instanceof PipeName) {
                PipeName name1;
                name1 = (PipeName) a;
                name = name1.name();
            }
        }
        pipe.name = name;
        Pipe dummyPipe = createPipe(pipe.itemID);
        if (dummyPipe != null) {
            pipe.setPipeIconIndex(dummyPipe.getIconIndexForItem());
            TransportProxy.proxy.setIconProviderFromPipe(pipe, dummyPipe);
        }
        DenPipesCore.proxy.registerPipeRendering(pipe);
        return pipe;
    }
View Full Code Here

TOP

Related Classes of denoflionsx.DenPipes.AddOns.Core.Pipe.DenItemPipe

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.