Class ItemRenderer

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer
net.minecraft.client.render.item.ItemRenderer

@Environment(CLIENT) public class ItemRenderer extends EntityRenderer
Mappings:
Namespace Name
intermediary net/minecraft/class_92
glue class_48
server net/minecraft/class_92
client bb
named net/minecraft/client/render/item/ItemRenderer
  • Field Details

    • blockRenderer

      private BlockRenderManager blockRenderer
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1708 Lnet/minecraft/class_92;field_1708:Lnet/minecraft/class_13;
      glue field_88 Lclass_48;field_88:Lclass_108;
      server field_1708 Lnet/minecraft/class_92;field_1708:Lnet/minecraft/class_13;
      client e Lbb;e:Lcv;
      named blockRenderer Lnet/minecraft/client/render/item/ItemRenderer;blockRenderer:Lnet/minecraft/client/render/block/BlockRenderManager;
    • random

      private Random random
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1709 Lnet/minecraft/class_92;field_1709:Ljava/util/Random;
      glue field_89 Lclass_48;field_89:Ljava/util/Random;
      server field_1709 Lnet/minecraft/class_92;field_1709:Ljava/util/Random;
      client f Lbb;f:Ljava/util/Random;
      named random Lnet/minecraft/client/render/item/ItemRenderer;random:Ljava/util/Random;
    • useCustomDisplayColor

      public boolean useCustomDisplayColor
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1707 Lnet/minecraft/class_92;field_1707:Z
      glue field_87 Lclass_48;field_87:Z
      server field_1707 Lnet/minecraft/class_92;field_1707:Z
      client a Lbb;a:Z
      named useCustomDisplayColor Lnet/minecraft/client/render/item/ItemRenderer;useCustomDisplayColor:Z
  • Constructor Details

    • ItemRenderer

      public ItemRenderer()
  • Method Details

    • render

      public void render(ItemEntity itemEntity, double double2, double double3, double double4, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1484 Lnet/minecraft/class_92;method_1484(Lnet/minecraft/class_142;DDDFF)V
      glue method_147 Lclass_48;method_147(Lclass_189;DDDFF)V
      server method_1484 Lnet/minecraft/class_92;method_1484(Lez;DDDFF)V
      client a Lbb;a(Lhl;DDDFF)V
      named render Lnet/minecraft/client/render/item/ItemRenderer;render(Lnet/minecraft/entity/ItemEntity;DDDFF)V
    • renderGuiItem

      public void renderGuiItem(TextRenderer textRenderer, TextureManager textureManager, int item, int meta, int sprite, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1486 Lnet/minecraft/class_92;method_1486(Lnet/minecraft/class_34;Lnet/minecraft/class_76;IIIII)V
      glue method_149 Lclass_48;method_149(Lclass_648;Lclass_359;IIIII)V
      server method_1486 Lnet/minecraft/class_92;method_1486(Lnet/minecraft/class_34;Lnet/minecraft/class_76;IIIII)V
      client a Lbb;a(Lsj;Lji;IIIII)V
      named renderGuiItem Lnet/minecraft/client/render/item/ItemRenderer;renderGuiItem(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/texture/TextureManager;IIIII)V
    • renderGuiItem

      public void renderGuiItem(TextRenderer textRenderer, TextureManager textureManager, ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1487 Lnet/minecraft/class_92;method_1487(Lnet/minecraft/class_34;Lnet/minecraft/class_76;Lnet/minecraft/class_31;II)V
      glue method_150 Lclass_48;method_150(Lclass_648;Lclass_359;Lclass_224;II)V
      server method_1487 Lnet/minecraft/class_92;method_1487(Lnet/minecraft/class_34;Lnet/minecraft/class_76;Lfy;II)V
      client a Lbb;a(Lsj;Lji;Liz;II)V
      named renderGuiItem Lnet/minecraft/client/render/item/ItemRenderer;renderGuiItem(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/item/ItemStack;II)V
    • renderGuiItemDecoration

      public void renderGuiItemDecoration(TextRenderer textrenderer, TextureManager textureManager, ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1488 Lnet/minecraft/class_92;method_1488(Lnet/minecraft/class_34;Lnet/minecraft/class_76;Lnet/minecraft/class_31;II)V
      glue method_152 Lclass_48;method_152(Lclass_648;Lclass_359;Lclass_224;II)V
      server method_1488 Lnet/minecraft/class_92;method_1488(Lnet/minecraft/class_34;Lnet/minecraft/class_76;Lfy;II)V
      client b Lbb;b(Lsj;Lji;Liz;II)V
      named renderGuiItemDecoration Lnet/minecraft/client/render/item/ItemRenderer;renderGuiItemDecoration(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/client/texture/TextureManager;Lnet/minecraft/item/ItemStack;II)V
    • fillRect

      private void fillRect(Tessellator tessellator, int x, int y, int width, int height, int color)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1485 Lnet/minecraft/class_92;method_1485(Lnet/minecraft/class_67;IIIII)V
      glue method_148 Lclass_48;method_148(Lclass_539;IIIII)V
      server method_1485 Lnet/minecraft/class_92;method_1485(Lnet/minecraft/class_67;IIIII)V
      client a Lbb;a(Lnw;IIIII)V
      named fillRect Lnet/minecraft/client/render/item/ItemRenderer;fillRect(Lnet/minecraft/client/render/Tessellator;IIIII)V
    • drawTexture

      public void drawTexture(int x, int y, int u, int v, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1483 Lnet/minecraft/class_92;method_1483(IIIIII)V
      glue method_146 Lclass_48;method_146(IIIIII)V
      server method_1483 Lnet/minecraft/class_92;method_1483(IIIIII)V
      client a Lbb;a(IIIIII)V
      named drawTexture Lnet/minecraft/client/render/item/ItemRenderer;drawTexture(IIIIII)V