Fishing.kt

Branches > main > bedd093 > files / src / main / kotlin / net / bowmap / server / loot / tables / Fishing.kt

package net.bowmap.server.loot.tables

import net.bowmap.server.loot.*
import org.bukkit.Material.*

// TODO imports
val fishingLootTable = WeightedLoot(
  Category(
    "trash",
    100,
    MaterialLoot(ROTTEN_FLESH), MaterialLoot(ROTTEN_FLESH), MaterialLoot(STRING), MaterialLoot(BONE), MaterialLoot(SPIDER_EYE), MaterialLoot(GUNPOWDER)
  ),

  Category(
    "rareTrash",
    15,
    MaterialLoot(TRIPWIRE_HOOK), MaterialLoot(STICK), MaterialLoot(REDSTONE), MaterialLoot(GLOWSTONE_DUST), MaterialLoot(FEATHER),
    MaterialLoot(CLAY_BALL, 4),
    MaterialLoot(HONEYCOMB, 3),
    MaterialLoot(LEATHER, 2)
  ),

  Category(
    "fish",
    20,
    MaterialLoot(COD), MaterialLoot(SALMON)
  ),

  Category(
    "exoticFish",
    6,
    MaterialLoot(PUFFERFISH), MaterialLoot(TROPICAL_FISH)
  ),

  Category(
    "decoration",
    2,
    MaterialLoot(SKELETON_SKULL), MaterialLoot(PAINTING), MaterialLoot(OAK_SIGN), MaterialLoot(BELL), MaterialLoot(DECORATED_POT),
    LootList(MaterialLoot(WHITE_BANNER), MaterialLoot(BLACK_BANNER), MaterialLoot(GRAY_BANNER), MaterialLoot(GREEN_BANNER), MaterialLoot(BLUE_BANNER))
  ),

  Category(
    "treasure",
    6,
    MaterialLoot(GLOW_INK_SAC),
    MaterialLoot(IRON_NUGGET, 6),
    MaterialLoot(GOLD_NUGGET, 5),
    MaterialLoot(PRISMARINE_SHARD, 3),
    MaterialLoot(PRISMARINE_CRYSTALS, 3)
  ),

  Category(
    "extremeTreasure",
    2,
    MaterialLoot(IRON_INGOT), MaterialLoot(GOLD_INGOT), MaterialLoot(COPPER_INGOT), MaterialLoot(NAME_TAG), MaterialLoot(TNT), MaterialLoot(GLASS_BOTTLE), MaterialLoot(IRON_SHOVEL)
  ),

  Category(
    "books",
    3,
    MaterialLoot(ENCHANTED_BOOK), MaterialLoot(BOOK)
  )
)