🧱 Crafting Stations
🏗️ Crafting Stations
Crafting stations are special blocks that allow players to access and use recipes. Each station is fully configurable and can represent anything — from an anvil to a magic altar, a cooking pot, or a ritual circle.
LiteCooking allows you to create unlimited custom stations, each with their own visuals and recipe list.
📁 Where They Are Stored
Crafting station configurations are stored as JSON files in:
plugins/LiteCooking/workstations/
Each file represents a single station ID, based on the filename.
Example: steel_anvil.json
defines the station ID steel_anvil
.
🧩 JSON Structure
{
"item": {
"material": "ANVIL",
"display_name": "{#C2C2C2}Steel anvil"
},
"recipes": [
"steel_sword",
"gold_sword"
],
"use_animation": "anvil_use"
}
🧱 Field Explanation
item
LiteItem
The visual item that represents the station (used in GUI, interaction, etc.)
recipes
List<String>
List of recipe IDs available from this station
use_animation
String
ID of animation to play when the station is used
work_animation
String
(Optional) Animation to play during crafting progress
🔍 Example: steel_anvil.json
steel_anvil.json
{
"item": {
"material": "ANVIL",
"display_name": "{#C2C2C2}Steel anvil"
},
"recipes": [
"steel_sword",
"gold_sword"
],
"use_animation": "anvil_use"
}
This defines a station called steel_anvil
:
Appears as an Anvil with a custom display name
Allows crafting steel_sword and gold_sword recipes
Plays the animation
anvil_use
when interacted with
💡 How to Use in Game
Stations are normally placed or triggered in-game by the plugin logic.
Each station is linked to recipes by ID — players will only see the recipes listed in the recipes
array.
You can have multiple stations for different professions or gameplay styles.
✨ Additional Features
You can use
custom_model_data
to display unique station blocks in GUIsUse
work_animation
for visual feedback during crafting (e.g. glowing, smoke, etc.)Combine with
permission
checks in recipes for role-based crafting systems
✅ Summary
Each
.json
inworkstations/
defines a station IDUse
item
to define its appearanceAssign multiple recipes via the
recipes
listAdd
use_animation
andwork_animation
for full feedbackModular and fully customizable
Last updated