Class FishingBobberEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.FishingBobberEntity
All Implemented Interfaces:
CommandSource

public class FishingBobberEntity extends Entity
Mappings:
Namespace Name
official zd
intermediary net/minecraft/class_993
named net/minecraft/entity/projectile/FishingBobberEntity
  • Field Details

    • HOOK_ENTITY_ID

      private static final TrackedData<Integer> HOOK_ENTITY_ID
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b:Lkk;
      intermediary field_14739 Lnet/minecraft/class_993;field_14739:Lnet/minecraft/class_2921;
      named HOOK_ENTITY_ID Lnet/minecraft/entity/projectile/FishingBobberEntity;HOOK_ENTITY_ID:Lnet/minecraft/entity/data/TrackedData;
    • inGround

      private boolean inGround
      Mappings:
      Namespace Name Mixin selector
      official c Lzd;c:Z
      intermediary field_4068 Lnet/minecraft/class_993;field_4068:Z
      named inGround Lnet/minecraft/entity/projectile/FishingBobberEntity;inGround:Z
    • removalTimer

      private int removalTimer
      Mappings:
      Namespace Name Mixin selector
      official d Lzd;d:I
      intermediary field_4069 Lnet/minecraft/class_993;field_4069:I
      named removalTimer Lnet/minecraft/entity/projectile/FishingBobberEntity;removalTimer:I
    • thrower

      private PlayerEntity thrower
      Mappings:
      Namespace Name Mixin selector
      official e Lzd;e:Laay;
      intermediary field_4062 Lnet/minecraft/class_993;field_4062:Lnet/minecraft/class_988;
      named thrower Lnet/minecraft/entity/projectile/FishingBobberEntity;thrower:Lnet/minecraft/entity/player/PlayerEntity;
    • field_4070

      private int field_4070
      Mappings:
      Namespace Name Mixin selector
      official f Lzd;f:I
      intermediary field_4070 Lnet/minecraft/class_993;field_4070:I
      named field_4070 Lnet/minecraft/entity/projectile/FishingBobberEntity;field_4070:I
    • hookCountdown

      private int hookCountdown
      Mappings:
      Namespace Name Mixin selector
      official g Lzd;g:I
      intermediary field_9110 Lnet/minecraft/class_993;field_9110:I
      named hookCountdown Lnet/minecraft/entity/projectile/FishingBobberEntity;hookCountdown:I
    • waitCountdown

      private int waitCountdown
      Mappings:
      Namespace Name Mixin selector
      official h Lzd;h:I
      intermediary field_9111 Lnet/minecraft/class_993;field_9111:I
      named waitCountdown Lnet/minecraft/entity/projectile/FishingBobberEntity;waitCountdown:I
    • fishTravelCountdown

      private int fishTravelCountdown
      Mappings:
      Namespace Name Mixin selector
      official at Lzd;at:I
      intermediary field_9112 Lnet/minecraft/class_993;field_9112:I
      named fishTravelCountdown Lnet/minecraft/entity/projectile/FishingBobberEntity;fishTravelCountdown:I
    • fishAngle

      private float fishAngle
      Mappings:
      Namespace Name Mixin selector
      official au Lzd;au:F
      intermediary field_9108 Lnet/minecraft/class_993;field_9108:F
      named fishAngle Lnet/minecraft/entity/projectile/FishingBobberEntity;fishAngle:F
    • caughtEntity

      public Entity caughtEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a:Lsn;
      intermediary field_4063 Lnet/minecraft/class_993;field_4063:Lnet/minecraft/class_864;
      named caughtEntity Lnet/minecraft/entity/projectile/FishingBobberEntity;caughtEntity:Lnet/minecraft/entity/Entity;
    • state

      Mappings:
      Namespace Name Mixin selector
      official av Lzd;av:Lzd$a;
      intermediary field_15524 Lnet/minecraft/class_993;field_15524:Lnet/minecraft/class_993$class_3145;
      named state Lnet/minecraft/entity/projectile/FishingBobberEntity;state:Lnet/minecraft/entity/projectile/FishingBobberEntity$State;
    • luckOfTheSeaLevel

      private int luckOfTheSeaLevel
      Mappings:
      Namespace Name Mixin selector
      official aw Lzd;aw:I
      intermediary field_15525 Lnet/minecraft/class_993;field_15525:I
      named luckOfTheSeaLevel Lnet/minecraft/entity/projectile/FishingBobberEntity;luckOfTheSeaLevel:I
    • lureLevel

      private int lureLevel
      Mappings:
      Namespace Name Mixin selector
      official ax Lzd;ax:I
      intermediary field_15526 Lnet/minecraft/class_993;field_15526:I
      named lureLevel Lnet/minecraft/entity/projectile/FishingBobberEntity;lureLevel:I
  • Constructor Details

    • FishingBobberEntity

      @Environment(CLIENT) public FishingBobberEntity(World world, PlayerEntity thrower, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzd;<init>(Lajs;Laay;DDD)V
      intermediary <init> Lnet/minecraft/class_993;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;DDD)V
      named <init> Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;DDD)V
    • FishingBobberEntity

      public FishingBobberEntity(World world, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzd;<init>(Lajs;Laay;)V
      intermediary <init> Lnet/minecraft/class_993;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_988;)V
      named <init> Lnet/minecraft/entity/projectile/FishingBobberEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • setThrower

      private void setThrower(PlayerEntity thrower)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Laay;)V
      intermediary method_14047 Lnet/minecraft/class_993;method_14047(Lnet/minecraft/class_988;)V
      named setThrower Lnet/minecraft/entity/projectile/FishingBobberEntity;setThrower(Lnet/minecraft/entity/player/PlayerEntity;)V
    • setLure

      public void setLure(int level)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(I)V
      intermediary method_14046 Lnet/minecraft/class_993;method_14046(I)V
      named setLure Lnet/minecraft/entity/projectile/FishingBobberEntity;setLure(I)V
    • setLuckOfTheSea

      public void setLuckOfTheSea(int level)
      Mappings:
      Namespace Name Mixin selector
      official b Lzd;b(I)V
      intermediary method_14049 Lnet/minecraft/class_993;method_14049(I)V
      named setLuckOfTheSea Lnet/minecraft/entity/projectile/FishingBobberEntity;setLuckOfTheSea(I)V
    • initVelocity

      private void initVelocity()
      Mappings:
      Namespace Name Mixin selector
      official n Lzd;n()V
      intermediary method_14051 Lnet/minecraft/class_993;method_14051()V
      named initVelocity Lnet/minecraft/entity/projectile/FishingBobberEntity;initVelocity()V
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Lsn;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Lkk;)V
      intermediary method_12974 Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • shouldRender

      @Environment(CLIENT) public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(D)Z
      intermediary method_2486 Lnet/minecraft/class_864;method_2486(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • updateTrackedPositionAndAngles

      @Environment(CLIENT) public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate)
      Overrides:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(DDDFFIZ)V
      intermediary method_2488 Lnet/minecraft/class_864;method_2488(DDDFFIZ)V
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official A_ Lsn;A_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • removeIfInvalid

      private boolean removeIfInvalid()
      Mappings:
      Namespace Name Mixin selector
      official o Lzd;o()Z
      intermediary method_14052 Lnet/minecraft/class_993;method_14052()Z
      named removeIfInvalid Lnet/minecraft/entity/projectile/FishingBobberEntity;removeIfInvalid()Z
    • method_14053

      private void method_14053()
      Mappings:
      Namespace Name Mixin selector
      official q Lzd;q()V
      intermediary method_14053 Lnet/minecraft/class_993;method_14053()V
      named method_14053 Lnet/minecraft/entity/projectile/FishingBobberEntity;method_14053()V
    • checkForCollision

      private void checkForCollision()
      Mappings:
      Namespace Name Mixin selector
      official r Lzd;r()V
      intermediary method_14054 Lnet/minecraft/class_993;method_14054()V
      named checkForCollision Lnet/minecraft/entity/projectile/FishingBobberEntity;checkForCollision()V
    • updateHookedEntityId

      private void updateHookedEntityId()
      Mappings:
      Namespace Name Mixin selector
      official s Lzd;s()V
      intermediary method_14055 Lnet/minecraft/class_993;method_14055()V
      named updateHookedEntityId Lnet/minecraft/entity/projectile/FishingBobberEntity;updateHookedEntityId()V
    • tickFishingLogic

      private void tickFishingLogic(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Lco;)V
      intermediary method_14048 Lnet/minecraft/class_993;method_14048(Lnet/minecraft/class_2552;)V
      named tickFishingLogic Lnet/minecraft/entity/projectile/FishingBobberEntity;tickFishingLogic(Lnet/minecraft/util/math/BlockPos;)V
    • canHit

      protected boolean canHit(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lzd;a(Lsn;)Z
      intermediary method_13520 Lnet/minecraft/class_993;method_13520(Lnet/minecraft/class_864;)Z
      named canHit Lnet/minecraft/entity/projectile/FishingBobberEntity;canHit(Lnet/minecraft/entity/Entity;)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lsn;b(Ldu;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Ldu;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • retract

      public int retract()
      Mappings:
      Namespace Name Mixin selector
      official j Lzd;j()I
      intermediary method_3231 Lnet/minecraft/class_993;method_3231()I
      named retract Lnet/minecraft/entity/projectile/FishingBobberEntity;retract()I
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • pullHookedEntity

      protected void pullHookedEntity()
      Mappings:
      Namespace Name Mixin selector
      official k Lzd;k()V
      intermediary method_13211 Lnet/minecraft/class_993;method_13211()V
      named pullHookedEntity Lnet/minecraft/entity/projectile/FishingBobberEntity;pullHookedEntity()V
    • canClimb

      protected boolean canClimb()
      Overrides:
      canClimb in class Entity
      Mappings:
      Namespace Name Mixin selector
      official af Lsn;af()Z
      intermediary method_2549 Lnet/minecraft/class_864;method_2549()Z
      named canClimb Lnet/minecraft/entity/Entity;canClimb()Z
    • remove

      public void remove()
      Overrides:
      remove in class Entity
      Mappings:
      Namespace Name Mixin selector
      official T Lsn;T()V
      intermediary method_2563 Lnet/minecraft/class_864;method_2563()V
      named remove Lnet/minecraft/entity/Entity;remove()V
    • getThrower

      public PlayerEntity getThrower()
      Mappings:
      Namespace Name Mixin selector
      official l Lzd;l()Laay;
      intermediary method_14050 Lnet/minecraft/class_993;method_14050()Lnet/minecraft/class_988;
      named getThrower Lnet/minecraft/entity/projectile/FishingBobberEntity;getThrower()Lnet/minecraft/entity/player/PlayerEntity;