public interface IItemRenderer<T extends Item>
| Modifier and Type | Method and Description |
|---|---|
default com.google.gson.JsonElement |
getAdditionalTextureData(IGameInstance game,
IAssetManager manager,
IGraphics g,
T item,
ItemInstance instance,
AbstractEntityPlayer player,
java.lang.String name) |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g,
T item,
ItemInstance instance,
float x,
float y,
float scale,
int filter) |
default void |
renderHolding(IGameInstance game,
IAssetManager manager,
IGraphics g,
T item,
ItemInstance instance,
AbstractEntityPlayer player,
float x,
float y,
float rotation,
float scale,
int filter,
boolean mirrored) |
default void |
renderOnMouseCursor(IGameInstance game,
IAssetManager manager,
IGraphics g,
T item,
ItemInstance instance,
float x,
float y,
float scale,
int filter,
boolean isInPlayerRange) |
void render(IGameInstance game, IAssetManager manager, IGraphics g, T item, ItemInstance instance, float x, float y, float scale, int filter)
default void renderOnMouseCursor(IGameInstance game, IAssetManager manager, IGraphics g, T item, ItemInstance instance, float x, float y, float scale, int filter, boolean isInPlayerRange)
default void renderHolding(IGameInstance game, IAssetManager manager, IGraphics g, T item, ItemInstance instance, AbstractEntityPlayer player, float x, float y, float rotation, float scale, int filter, boolean mirrored)
default com.google.gson.JsonElement getAdditionalTextureData(IGameInstance game, IAssetManager manager, IGraphics g, T item, ItemInstance instance, AbstractEntityPlayer player, java.lang.String name)