Class FishingEvent.Catch
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.FishingEvent
com.pixelmonmod.pixelmon.api.events.FishingEvent.Catch
- Enclosing class:
- FishingEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
FishingEvent.Cast, FishingEvent.Catch, FishingEvent.Reel
Nested 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
ConstructorDescriptionCatch
(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook, SpawnAction<? extends net.minecraft.world.entity.Entity> plannedSpawn, int ticksTillEscape, int displayedMarks) -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
setDisplayedMarks
(int displayedMarks) void
setTicksTillEscape
(int ticksTillEscape) Methods inherited from class com.pixelmonmod.pixelmon.api.events.FishingEvent
getRodType
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
plannedSpawn
-
-
Constructor Details
-
Catch
public Catch(net.minecraft.server.level.ServerPlayer player, HookEntity fishHook, SpawnAction<? extends net.minecraft.world.entity.Entity> plannedSpawn, int ticksTillEscape, int displayedMarks)
-
-
Method Details
-
getDisplayedMarks
public int getDisplayedMarks() -
setDisplayedMarks
public void setDisplayedMarks(int displayedMarks) -
getTicksTillEscape
public int getTicksTillEscape() -
setTicksTillEscape
public void setTicksTillEscape(int ticksTillEscape)
-