jadenquinn

IAlternateCartTexture.java

Sep 28th, 2018
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.80 KB | None | 0 0
  1. /*
  2.  * ******************************************************************************
  3.  *  Copyright 2011-2015 CovertJaguar
  4.  *
  5.  *  This work (the API) is licensed under the "MIT" License, see LICENSE.md for details.
  6.  * ***************************************************************************
  7.  */
  8. package mods.railcraft.api.carts;
  9.  
  10. import net.minecraft.util.ResourceLocation;
  11.  
  12. /**
  13.  * Used to render a cart with a custom texture using Railcraft's cart renderer.
  14.  * You could always write your own renderer of course.
  15.  *
  16.  * @author CovertJaguar <http://www.railcraft.info>
  17.  */
  18. public interface IAlternateCartTexture {
  19.  
  20.     /**
  21.      * The texture to give the cart. If you return null, the default is used.
  22.      *
  23.      * @return the texture file
  24.      */
  25.     ResourceLocation getTextureFile();
  26. }
Add Comment
Please, Sign In to add comment