Workstation Configuration

Workstations are the foundation of crafting in RPProfessions. This page will show you how they should be created in order to have working professions using them.

Workstation Creation

The creation and configuration of workstations is done in the /RPProfessions/workstations.yml file.

Here's how workstation should be configured in order to work.

Required Configurations

All the following options must be defined for the station to work. Should one of these option be missing the plugin won't load this workstation.

WORKSTATION_ID:
  # The rest follows

Materials

This let RPProfessions know which blocks allows to open the crafting menu. There can be as many blocks as you want.

materials:
- ANVIL
- CHIPPED_ANVIL
- DAMAGED_ANVIL

Station

Choses what kind of crafting menu is linked to the blocks listed in materials. This also let you chose what kind of mini-game should be played when a player starts a dynamic craft. See the Station Options section of more information.

station: ANVIL

Display name

This option lets you choose the name of the crafting menu. It supports colour/format codes.

display-name: "&8Anvil"

Optional Configurations

These options are optional and allow even more customisation.

Fuel

The fuel is the block that must be next to the station blocks. If this block is not next to it, the block won't act as a crafting station and an error message will be displayed to the player trying to use it.

fuel: LAVA

Tool

The RPProfessions item that must be held in main hand to use the workstation. If no value is set (i.e. no tool is required) the workstation is accessed by shift right clicking the block.

tool: BLACKSMITH_HAMMER

Station Options

The station dictates the actual crafting process. Each option has different behaviours and I intend to add more of those in the future.

Anvil

Id: ANVIL

Layout

The anvil makes a hammering sound when a new item is crafted and has a hammer-like crafting icon.

Dynamic crafting

When a dynamic crafting recipe is completed in the anvil, a "whack a mole" sort of mini-game starts. The player must hit all the spots as fast as possible and not make mistakes in order to forge their item. If the player makes too many mistakes or is too slow, the forging process fails and the used ingredients are lost. This simulates the forging process on an anvil.

Forge

Id: FORGE

Layout

The forge makes a smelting sound when a new item is crafted and has an ingot crafting icon.

Dynamic crafting

When a dynamic crafting recipe is completed in the forge, a new menu is open where a temperature value sits on the bottom. Two buttons, "heat up" and "cool down", are used to adjust the temperature to keep it in the green level. If the temperature increases or lowers too much, the smelting process fails and the used ingredients are lost.

Enchanting Table

Id: ENCHANTING_TABLE

Layout

The enchanting table makes a magic-like sound when a new item is crafted and has an ender eye crafting icon.

Dynamic crafting

When a dynamic crafting recipe is completed in the enchanting table, a table of colours appears. The crafter must quickly click on all tiles of the specified colour in the bottom of the menu. If the crafter select the wrong colour or takes too much time to select them all, the enchanting process fails and the used ingredients are lost.

In this situation, the crafter must select only the blue tiles.

Brewing Stand

Id: BREWING_STAND

Layout

The brewing stand makes a potion sound when a new item is crafted and has a potion crafting icon.

Dynamic crafting

Since the brewing stand in Minecraft is enough dynamic as it is, the dynamic version of the brewing stand recipes is simply the actual vanilla brewing stand. Fortunately, RPProfessions allows you to use any items in the brewing stand, even those which are not supposed to go in the brewing stand slots. This feature allows you to create fully customised potions and brewing recipes.

Lectern

id: LECTERN

Layout

The lectern makes an eerie sound when a new item is crafted and has a enchanted book crafting icon.

Dynamic crafting

Unfortunately, I haven't come up with a dynamic crafting yet. I intend to find an idea for this one, such as summoned monsters to fight and kill in order to get the conjured item.

Crafting Table

This workstation is intended as a generic workstation.

Id: CRAFTING_STATION

Layout

The crafting station makes a loom sound when a new item is crafted and has a piece of leather as a crafting icon.

Dynamic crafting

Unfortunately, I haven't come up with a dynamic crafting yet. I intend to find an idea for this one, such as memorising a pattern and repeating it afterwards (with levels of complexity).

Last updated