🔨 Job Action Types

What is it?

Action types are used in job objectives, the ones you can edit & create in objectives.yml config file inside a job directory.

They defines an action the plugin will listen to to detect if player completes certain objectives, so it can reward them with job XP and money.

Every action type has a certain obejct type that is used to parse and validate listed objects:

stones:
  Type: block_break # block_break uses Material object type
  # Here we can list only material names then (block & item names).
  Objects:
  - cobblestone # good
  - granite # good
  - mossy_cobblestone # good
  - Mossy Cobblestone # bad, won't work

However, you can list an asterisk * in Objects list to include all possible objects this action type can accept:

stones:
  Type: block_break
  Objects:
  - '*' # Will work for any block.

Actions List

Material actions

For valid material names press F3+H in game and look at inventory item tooltip, or go to Minecraft Wiki page, click on Show of Blocks or Items table and look at Resource location column.

  • block_break - Player have to break certain blocks.

  • block_place - Player have to place certain blocks.

  • block_fertilize - Player have to fertilize certain plants using bone meal.

  • consume_item - Player have to consume certain item.

  • craft_item - Player have to craft certain item.

  • smelt_item - Player have to smelt items into certain items in furnace.

  • enchant_item - Player have to enchant certain item using enchanting table.

  • disenchant_item - Player have to disenchant certain item using grindstone.

  • trade_item - Player have to get certain item from villager trades.

  • fish_item - Player have to fish certain item.

  • rename_item - Player have to rename certain item on anvil.

  • repair_item - Player have to repair certain item on anvil.

  • collect_honey - Player have to collect honey from certain blocks.

Entity actions

For valid entity names, go to Minecraft Wiki page, click on Show of Entities table and look at Resource location column.

  • kill_entity - Player have to kill certain entity.

  • shoot_entity - Player have to shoot certain entity by a projectile.

  • tame_entity - Player have to tame certain entity.

  • breed_entity - Player have to breed certain entity.

  • shear_entity - Player have to shear certain entity (sheeps only).

  • milk_entity - Player have to milk certain entity (cows, goats only).

  • launch_projectile - Player have to shoot/launch certain projectile.

Potion Effect actions

For valid potion effect names, go to Miencraft Wiki page, click on Show of Effect table and look at Resource location column.

  • brew_potion - Player have to brew potion with certain effect.

  • drink_potion - Player have to drink potion with certain effect.

Damage Cause actions

List of all available damage causes: Damage Cause.

  • receive_damage - Player have to receive damage from certain source.

  • inflict_damage - Player have to inflict damage with certain source.

Enchantment actions

For valid enchantment names, go to Minecraft Wiki page and look at Resource location column of Enchantments table.

  • get_enchant - Player have to enchant items with certain enchants using enchanting table.

  • remove_enchant - Player have to disenchant items from certain enchants using grindstone.

MythicMobs actions

Names for mythic mobs are just their config names:

tpig: <=== This one
  Type: PIG
  Display: '&6&lAngry pig'
  Health: 10000000
  • kill_mythic_mob - Player have to kill certain mob from MythicMobs plugin.

EvenMoreFish actions

Names for fishes are rarity:name, e.g. Common:Tuna, Rare:Penguin Feather, etc:

emf_fish:
  Type: emf_fish_item
  Display:
    Name: EMF Fish
    Icon:
      Material: tropical_fish
  Objects:
  - Common:Tuna
  - Common:Eel
  - Common:Mackerel
  • emf_fish_item - Player have to fish certain custom fish / item from EvenMoreFish plugin.

Last updated