Package mods.railcraft.api.carts.locomotive

Examples of mods.railcraft.api.carts.locomotive.LocomotiveRenderType


        String emblem = loco.getEmblem();
        ResourceLocation emblemTexture = null;
        if (emblem != null && !emblem.equals("") && EmblemToolsClient.packageManager != null)
            emblemTexture = EmblemToolsClient.packageManager.getEmblemTextureLocation(emblem);

        LocomotiveRenderType renderType = loco.getRenderType();
        mods.railcraft.api.carts.locomotive.LocomotiveModelRenderer locoRenderer = renderType.getRenderer(loco.getModel());

        locoRenderer.renderLocomotive(renderer, cart, primaryColor, secondaryColor, emblemTexture, light, time);
        return false;
    }
View Full Code Here

TOP

Related Classes of mods.railcraft.api.carts.locomotive.LocomotiveRenderType

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.