Class FishingEvent.Cast
java.lang.Object
net.minecraftforge.eventbus.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.ReelNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result -
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 TypeMethodDescriptionfloatintvoidsetChanceOfNothing(float chanceOfNothing) voidsetTicksUntilCatch(int ticksUntilCatch) Methods inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
getRodTypeMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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)
-