Class FishingBobberEntityRenderer

java.lang.Object
net.minecraft.client.render.entity.EntityRenderer<FishingBobberEntity>
net.minecraft.client.render.entity.FishingBobberEntityRenderer

@Environment(CLIENT) public class FishingBobberEntityRenderer extends EntityRenderer<FishingBobberEntity>
Mappings:
Namespace Name
official fou
intermediary net/minecraft/class_906
named net/minecraft/client/render/entity/FishingBobberEntityRenderer
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a:Lacq;
      intermediary field_4707 Lnet/minecraft/class_906;field_4707:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;TEXTURE:Lnet/minecraft/util/Identifier;
    • LAYER

      private static final RenderLayer LAYER
      Mappings:
      Namespace Name Mixin selector
      official f Lfou;f:Lfju;
      intermediary field_21742 Lnet/minecraft/class_906;field_21742:Lnet/minecraft/class_1921;
      named LAYER Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;LAYER:Lnet/minecraft/client/render/RenderLayer;
    • field_33632

      private static final double field_33632
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lfou;g:D
      intermediary field_33632 Lnet/minecraft/class_906;field_33632:D
      named field_33632 Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;field_33632:D
  • Constructor Details

    • FishingBobberEntityRenderer

      public FishingBobberEntityRenderer(EntityRendererFactory.Context ctx)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfol;<init>(Lfom$a;)V
      intermediary <init> Lnet/minecraft/class_897;<init>(Lnet/minecraft/class_5617$class_5618;)V
      named <init> Lnet/minecraft/client/render/entity/EntityRenderer;<init>(Lnet/minecraft/client/render/entity/EntityRendererFactory$Context;)V
  • Method Details

    • render

      public void render(FishingBobberEntity fishingBobberEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<FishingBobberEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a(Lbza;FFLeib;Lfjm;I)V
      intermediary method_3974 Lnet/minecraft/class_906;method_3974(Lnet/minecraft/class_1536;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      named render Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;render(Lnet/minecraft/entity/projectile/FishingBobberEntity;FFLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
    • percentage

      private static float percentage(int value, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a(II)F
      intermediary method_23954 Lnet/minecraft/class_906;method_23954(II)F
      named percentage Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;percentage(II)F
    • vertex

      private static void vertex(VertexConsumer buffer, Matrix4f matrix, Matrix3f normalMatrix, int light, float x, int y, int u, int v)
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a(Leif;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;IFIII)V
      intermediary method_23840 Lnet/minecraft/class_906;method_23840(Lnet/minecraft/class_4588;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;IFIII)V
      named vertex Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;Lorg/joml/Matrix4f;Lorg/joml/Matrix3f;IFIII)V
    • renderFishingLine

      private static void renderFishingLine(float x, float y, float z, VertexConsumer buffer, MatrixStack.Entry matrices, float segmentStart, float segmentEnd)
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a(FFFLeif;Leib$a;FF)V
      intermediary method_23172 Lnet/minecraft/class_906;method_23172(FFFLnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;FF)V
      named renderFishingLine Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;renderFishingLine(FFFLnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;FF)V
    • getTexture

      public Identifier getTexture(FishingBobberEntity fishingBobberEntity)
      Specified by:
      getTexture in class EntityRenderer<FishingBobberEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lfou;a(Lbza;)Lacq;
      intermediary method_3975 Lnet/minecraft/class_906;method_3975(Lnet/minecraft/class_1536;)Lnet/minecraft/class_2960;
      named getTexture Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;getTexture(Lnet/minecraft/entity/projectile/FishingBobberEntity;)Lnet/minecraft/util/Identifier;