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
named net/minecraft/client/render/entity/FishingBobberEntityRenderer
intermediary net/minecraft/class_906
official gjg
  • 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 Lgjg;a:Lalf;
    • 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 f Lgjg;f:Lgdy;
    • 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 g Lgjg;g:D
  • Constructor Details

    • FishingBobberEntityRenderer

      public FishingBobberEntityRenderer(EntityRendererFactory.Context ctx)
      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> Lgiy;<init>(Lgiz$a;)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
      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
      intermediary method_3974 Lnet/minecraft/class_906;method_3974(Lnet/minecraft/class_1536;FFLnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgjg;a(Lcnn;FFLfaa;Lgdq;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 Lgjg;a(Lcmz;FF)Levt;
    • 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 Lgjg;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 Lgjg;a(Lfae;Lfaa$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 Lgjg;a(FFFLfae;Lfaa$a;FF)V
    • getTexture

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