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
named net/minecraft/client/render/entity/BoatEntityRenderer
intermediary net/minecraft/class_881
official gis
  • Field Details

    • texturesAndModels

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

    • BoatEntityRenderer

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

    • createModel

      private CompositeEntityModel<BoatEntity> createModel(EntityRendererFactory.Context ctx, BoatEntity.Type type, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lgis;a(Lgjo$a;Lcoi$b;Z)Lfvi;
    • getTexture

      private static String getTexture(BoatEntity.Type type, boolean chest)
      Mappings:
      Namespace Name Mixin selector
      named getTexture Lnet/minecraft/client/render/entity/BoatEntityRenderer;getTexture(Lnet/minecraft/entity/vehicle/BoatEntity$Type;Z)Ljava/lang/String;
      intermediary method_42602 Lnet/minecraft/class_881;method_42602(Lnet/minecraft/class_1690$class_1692;Z)Ljava/lang/String;
      official a Lgis;a(Lcoi$b;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
      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
      intermediary method_3888 Lnet/minecraft/class_881;method_3888(Lnet/minecraft/class_1690;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgis;a(Lcoi;FFLfao;Lgef;I)V
    • getTexture

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