Class BoatEntityRenderer

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<BoatEntity>
net.minecraft.client.render.entity.BoatEntityRenderer

@Environment(CLIENT) public class BoatEntityRenderer extends EntityRenderer<BoatEntity>
Mappings:
Namespace Name
official fsn
intermediary net/minecraft/class_881
named net/minecraft/client/render/entity/BoatEntityRenderer
  • Field Details

    • texturesAndModels

      private final Map<BoatEntity.Type,com.mojang.datafixers.util.Pair<Identifier,CompositeEntityModel<BoatEntity>>> texturesAndModels
      Mappings:
      Namespace Name Mixin selector
      official a Lfsn;a:Ljava/util/Map;
      intermediary field_27758 Lnet/minecraft/class_881;field_27758:Ljava/util/Map;
      named texturesAndModels Lnet/minecraft/client/render/entity/BoatEntityRenderer;texturesAndModels:Ljava/util/Map;
  • Constructor Details

    • BoatEntityRenderer

      public BoatEntityRenderer(EntityRendererFactory.Context ctx, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfsn;<init>(Lfth$a;Z)V
      intermediary <init> Lnet/minecraft/class_881;<init>(Lnet/minecraft/class_5617$class_5618;Z)V
      named <init> Lnet/minecraft/client/render/entity/BoatEntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Z)V
  • Method Details

    • createModel

      private CompositeEntityModel<BoatEntity> createModel(EntityRendererFactory.Context ctx, BoatEntity.Type type, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      official a Lfsn;a(Lfth$a;Lcdn$b;Z)Lffv;
      intermediary method_42603 Lnet/minecraft/class_881;method_42603(Lnet/minecraft/class_5617$class_5618;Lnet/minecraft/class_1690$class_1692;Z)Lnet/minecraft/class_4595;
      named createModel Lnet/minecraft/client/render/entity/BoatEntityRenderer;createModel(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;Lnet/minecraft/entity/vehicle/BoatEntity$Type;Z)Lnet/minecraft/client/render/entity/model/CompositeEntityModel;
    • getTexture

      private static String getTexture(BoatEntity.Type type, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      official a Lfsn;a(Lcdn$b;Z)Ljava/lang/String;
      intermediary method_42602 Lnet/minecraft/class_881;method_42602(Lnet/minecraft/class_1690$class_1692;Z)Ljava/lang/String;
      named getTexture Lnet/minecraft/client/render/entity/BoatEntityRenderer;getTexture(Lnet/minecraft/entity/vehicle/BoatEntity$Type;Z)Ljava/lang/String;
    • render

      public void render(BoatEntity boatEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<BoatEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfsn;a(Lcdn;FFLelp;Lfoe;I)V
      intermediary method_3888 Lnet/minecraft/class_881;method_3888(Lnet/minecraft/class_1690;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/BoatEntityRenderer;render(Lnet/minecraft/entity/vehicle/BoatEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • getTexture

      public Identifier getTexture(BoatEntity boatEntity)
      Specified by:
      getTexture in class EntityRenderer<BoatEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfsn;a(Lcdn;)Laew;
      intermediary method_3891 Lnet/minecraft/class_881;method_3891(Lnet/minecraft/class_1690;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/BoatEntityRenderer;getTexture(Lnet/minecraft/entity/vehicle/BoatEntity;)Lnet/minecraft/util/Identifier;