Class MinecartEntityRenderer<T extends AbstractMinecartEntity>

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<T>
net.minecraft.client.render.entity.MinecartEntityRenderer<T>
Direct Known Subclasses:
TntMinecartEntityRenderer

@Environment(CLIENT) public class MinecartEntityRenderer<T extends AbstractMinecartEntity> extends EntityRenderer<T>
Mappings:
Namespace Name
official fum
intermediary net/minecraft/class_925
named net/minecraft/client/render/entity/MinecartEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official f Lfum;f:Laew;
      intermediary field_4746 Lnet/minecraft/class_925;field_4746:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/MinecartEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
    • model

      protected final EntityModel<T extends AbstractMinecartEntity> model
      Mappings:
      Namespace Name Mixin selector
      official a Lfum;a:Lffd;
      intermediary field_4747 Lnet/minecraft/class_925;field_4747:Lnet/minecraft/class_583;
      named model Lnet/minecraft/client/render/entity/MinecartEntityRenderer;model:Lnet/minecraft/client/render/entity/model/EntityModel;
    • blockRenderManager

      private final BlockRenderManager blockRenderManager
      Mappings:
      Namespace Name Mixin selector
      official g Lfum;g:Lfoy;
      intermediary field_38892 Lnet/minecraft/class_925;field_38892:Lnet/minecraft/class_776;
      named blockRenderManager Lnet/minecraft/client/render/entity/MinecartEntityRenderer;blockRenderManager:Lnet/minecraft/client/render/block/BlockRenderManager;
  • Constructor Details

    • MinecartEntityRenderer

      public MinecartEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer layer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfum;<init>(Lfth$a;Lfia;)V
      intermediary <init> Lnet/minecraft/class_925;<init>(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_5601;)V
      named <init> Lnet/minecraft/client/render/entity/MinecartEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/client/render/entity/model/EntityModelLayer;)V
  • Method Details

    • render

      public void render(T t, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<T extends AbstractMinecartEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfum;a(Lcdl;FFLelp;Lfoe;I)V
      intermediary method_4063 Lnet/minecraft/class_925;method_4063(Lnet/minecraft/class_1688;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/MinecartEntityRenderer;render(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • getTexture

      public Identifier getTexture(T t)
      Specified by:
      getTexture in class EntityRenderer<T extends AbstractMinecartEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfum;a(Lcdl;)Laew;
      intermediary method_4065 Lnet/minecraft/class_925;method_4065(Lnet/minecraft/class_1688;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/MinecartEntityRenderer;getTexture(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;)Lnet/minecraft/util/Identifier;
    • renderBlock

      protected void renderBlock(T entity, float delta, BlockState state, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      official a Lfum;a(Lcdl;FLdfj;Lelp;Lfoe;I)V
      intermediary method_4064 Lnet/minecraft/class_925;method_4064(Lnet/minecraft/class_1688;FLnet/minecraft/class_2680;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named renderBlock Lnet/minecraft/client/render/entity/MinecartEntityRenderer;renderBlock(Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;FLnet/minecraft/block/BlockState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V