Class FishingBobberEntityRenderer


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

    • TEXTURE

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

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

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

    • FishingBobberEntityRenderer

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

    • shouldRender

      public boolean shouldRender(FishingBobberEntity fishingBobberEntity, Frustum frustum, double double2, double double3, double double4)
      Overrides:
      shouldRender in class EntityRenderer<FishingBobberEntity,FishingBobberEntityState>
      Mappings:
      Namespace Name Mixin selector
      named shouldRender Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;shouldRender(Lnet/minecraft/entity/projectile/FishingBobberEntity;Lnet/minecraft/client/render/Frustum;DDD)Z
      intermediary method_62442 Lnet/minecraft/class_906;method_62442(Lnet/minecraft/class_1536;Lnet/minecraft/class_4604;DDD)Z
      official a Lgrw;a(Lcql;Lgpb;DDD)Z
    • render

      public void render(FishingBobberEntityState fishingBobberEntityState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
      Overrides:
      render in class EntityRenderer<FishingBobberEntity,FishingBobberEntityState>
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;render(Lnet/minecraft/client/render/entity/state/FishingBobberEntityState;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_3974 Lnet/minecraft/class_906;method_3974(Lnet/minecraft/class_10026;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgrw;a(Lgyc;Lfgr;Lglk;I)V
    • getHandPos

      private Vec3d getHandPos(PlayerEntity player, float float2, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named getHandPos Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;getHandPos(Lnet/minecraft/entity/player/PlayerEntity;FF)Lnet/minecraft/util/math/Vec3d;
      intermediary method_59755 Lnet/minecraft/class_906;method_59755(Lnet/minecraft/class_1657;FF)Lnet/minecraft/class_243;
      official a Lgrw;a(Lcpw;FF)Lfbx;
    • percentage

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

      private static void vertex(VertexConsumer buffer, MatrixStack.Entry matrix, int light, float x, int y, int u, int v)
      Mappings:
      Namespace Name Mixin selector
      named vertex Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;vertex(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;IFIII)V
      intermediary method_23840 Lnet/minecraft/class_906;method_23840(Lnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;IFIII)V
      official a Lgrw;a(Lfgv;Lfgr$a;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
      named renderFishingLine Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;renderFishingLine(FFFLnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/util/math/MatrixStack$Entry;FF)V
      intermediary method_23172 Lnet/minecraft/class_906;method_23172(FFFLnet/minecraft/class_4588;Lnet/minecraft/class_4587$class_4665;FF)V
      official a Lgrw;a(FFFLfgv;Lfgr$a;FF)V
    • createRenderState

      public FishingBobberEntityState createRenderState()
      Specified by:
      createRenderState in class EntityRenderer<FishingBobberEntity,FishingBobberEntityState>
      Mappings:
      Namespace Name Mixin selector
      named createRenderState Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;createRenderState()Lnet/minecraft/client/render/entity/state/FishingBobberEntityState;
      intermediary method_62440 Lnet/minecraft/class_906;method_62440()Lnet/minecraft/class_10026;
      official a Lgrw;a()Lgyc;
    • updateRenderState

      public void updateRenderState(FishingBobberEntity fishingBobberEntity, FishingBobberEntityState fishingBobberEntityState, float float2)
      Overrides:
      updateRenderState in class EntityRenderer<FishingBobberEntity,FishingBobberEntityState>
      Mappings:
      Namespace Name Mixin selector
      named updateRenderState Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;updateRenderState(Lnet/minecraft/entity/projectile/FishingBobberEntity;Lnet/minecraft/client/render/entity/state/FishingBobberEntityState;F)V
      intermediary method_62443 Lnet/minecraft/class_906;method_62443(Lnet/minecraft/class_1536;Lnet/minecraft/class_10026;F)V
      official a Lgrw;a(Lcql;Lgyc;F)V
    • canBeCulled

      protected boolean canBeCulled(FishingBobberEntity fishingBobberEntity)
      Overrides:
      canBeCulled in class EntityRenderer<FishingBobberEntity,FishingBobberEntityState>
      Mappings:
      Namespace Name Mixin selector
      named canBeCulled Lnet/minecraft/client/render/entity/FishingBobberEntityRenderer;canBeCulled(Lnet/minecraft/entity/projectile/FishingBobberEntity;)Z
      intermediary method_62441 Lnet/minecraft/class_906;method_62441(Lnet/minecraft/class_1536;)Z
      official a Lgrw;a(Lcql;)Z