Examples of LSDPreRenderEvent


Examples of libshapedraw.event.LSDPreRenderEvent

        // Dispatch prerender event and render.
        for (LibShapeDraw apiInstance : apiInstances) {
            minecraftAccess.profilerStartSection(apiInstance.getInstanceId()).profilerStartSection("prerender");
            if (!apiInstance.getEventListeners().isEmpty()) {
                LSDPreRenderEvent event = new LSDPreRenderEvent(apiInstance, playerCoords, minecraftAccess.getPartialTick(), isGuiHidden);
                for (LSDEventListener listener : apiInstance.getEventListeners()) {
                    if (listener != null) {
                        listener.onPreRender(event);
                    }
                }
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.