Compare commits

...
1 Commits
@@ -350,7 +350,7 @@ class PokeRodFishingBobberEntity(type: EntityType<out PokeRodFishingBobberEntity
entityData.set(CAUGHT_FISH, true)
}
} else if (this.waitCountdown > 0) {
this.waitCountdown -= i
this.waitCountdown -= i + lureLevel
var f = 0.15f
if (this.waitCountdown < 20) {
f += (20 - this.waitCountdown).toFloat() * 0.05f
@@ -392,10 +392,9 @@ class PokeRodFishingBobberEntity(type: EntityType<out PokeRodFishingBobberEntity
// set the time it takes to wait for a hooked item or pokemon
this.waitCountdown = Mth.nextInt(random, 100, 600)
this.waitCountdown -= this.lureLevel * 20 * 5
if (this.waitCountdown < 0)
this.waitCountdown = 0
if (this.waitCountdown <= 0)
this.waitCountdown = 1
else {
// check for the bait on the hook and see if the waitCountdown is reduced
if (checkReduceBiteTime(bobberBait))