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 ewo
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 Lewo;f:Lyt;
      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 Lewo;a:Lejk;
      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;
  • Constructor Details

    • MinecartEntityRenderer

      public MinecartEntityRenderer(EntityRendererFactory.Context ctx, EntityModelLayer layer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lewo;<init>(Levk$a;Lelz;)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 Lewo;a(Lbpy;FFLdtm;Leqs;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 Lewo;a(Lbpy;)Lyt;
      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 Lewo;a(Lbpy;FLcov;Ldtm;Leqs;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