Skip to main content

DimensionFishing API

CodeMC

The plugin's API is available via CodeMC's Maven Repository. To add it to your build tool, follow the examples below:

build.gradle.kts
repositories {
maven("https://repo.codemc.io/repository/EvenMoreFish/")
}

// Note: The version shown here may not be the latest. Make sure to check the latest version before using!
dependencies {
compileOnly("org.evenmorefish:DimensionFishing:1.0")
}

Events

DimensionFishing provides two events:

  • LavaFishCaughtEvent
  • VoidFishCaughtEvent

Both events provide the FishHook, Player, and ArmorStand the hook is attached to via the TrackedHook object. You can manually handle the rewards from there.