Class FishingEvent.Cast
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.FishingEvent
com.pixelmonmod.pixelmon.api.events.FishingEvent.Cast
- Enclosing class:
FishingEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
FishingEvent.Cast, FishingEvent.Catch, FishingEvent.Reel
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
fishHook, player
-
Constructor Summary
ConstructorsConstructorDescriptionCast
(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook, int ticksUntilCatch, float chanceOfNothing) -
Method Summary
Modifier and TypeMethodDescriptionfloat
int
void
setChanceOfNothing
(float chanceOfNothing) void
setTicksUntilCatch
(int ticksUntilCatch) Methods inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
getRodType
-
Constructor Details
-
Cast
public Cast(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook, int ticksUntilCatch, float chanceOfNothing)
-
-
Method Details
-
getTicksUntilCatch
public int getTicksUntilCatch() -
setTicksUntilCatch
public void setTicksUntilCatch(int ticksUntilCatch) -
getChanceOfNothing
public float getChanceOfNothing() -
setChanceOfNothing
public void setChanceOfNothing(float chanceOfNothing)
-