Class FishingBobberEntity

All Implemented Interfaces:
CommandOutput, Nameable

public class FishingBobberEntity
extends ProjectileEntity
  • Field Details

    • HOOK_ENTITY_ID

      private static final TrackedData<Integer> HOOK_ENTITY_ID
    • CAUGHT_FISH

      private static final TrackedData<Boolean> CAUGHT_FISH
    • velocityRandom

      private final Random velocityRandom
    • caughtFish

      private boolean caughtFish
    • outOfOpenWaterTicks

      private int outOfOpenWaterTicks
    • removalTimer

      private int removalTimer
    • hookCountdown

      private int hookCountdown
    • waitCountdown

      private int waitCountdown
    • fishTravelCountdown

      private int fishTravelCountdown
    • fishAngle

      private float fishAngle
    • inOpenWater

      private boolean inOpenWater
    • hookedEntity

      private Entity hookedEntity
    • state

    • luckOfTheSeaLevel

      private final int luckOfTheSeaLevel
    • lureLevel

      private final int lureLevel
  • Constructor Details

    • FishingBobberEntity

      private FishingBobberEntity​(World world, PlayerEntity owner, int lureLevel, int luckOfTheSeaLevel)
    • FishingBobberEntity

      @Environment(CLIENT) public FishingBobberEntity​(World world, PlayerEntity thrower, double x, double y, double z)
    • FishingBobberEntity

      public FishingBobberEntity​(PlayerEntity thrower, World world, int lureLevel, int luckOfTheSeaLevel)
  • Method Details