An open API service indexing awesome lists of open source software.

https://github.com/mineinabyss/looty

Highly configurable custom items for Minecraft
https://github.com/mineinabyss/looty

ecs kotlinx-serialization minecraft spigot

Last synced: 10 months ago
JSON representation

Highly configurable custom items for Minecraft

Awesome Lists containing this project

README

          

# Looty

[![Maven](https://img.shields.io/maven-metadata/v?metadataUrl=https://repo.mineinabyss.com/releases/com/mineinabyss/looty/maven-metadata.xml)](https://repo.mineinabyss.com/#/releases/com/mineinabyss/looty)
[![Contribute](https://shields.io/badge/Contribute-e57be5?logo=github%20sponsors&style=flat&logoColor=white)](https://wiki.mineinabyss.com/contribute)

Looty is a [Paper](https://papermc.io/) plugin for creating custom items with config files. We extend on basic item functionality in [Geary](https://github.com/MineInAbyss/geary-papermc) to help create complicated items all in config.

## Features

- Useful components like `hat` to make any item wearable, or `food` to create food items with custom effects.
- Support for custom recipes
- Write configs in yaml, json, and more.

## Usage
Coming soon

## Examples

### Custom item from our server

`star-compass.yml`
```yaml
# Make items in the same inventory share one entity
- !

# Specify item name, model, and lore,
# if this ever changes, Looty will update existing items
- !
item:
type: PAPER
customModelData: 125
displayName: Star Compass
lore:
- Points towards the center of the Abyss

# Add a recipe using other custom items
- !
discoverRecipes: true
recipes:
- !
items:
- prefab: mineinabyss:star_compass_needle
- prefab: mineinabyss:titanjaw_pearl

# A component provided another plugin
- !

```

### Custom recipe for a vanilla item

`lead.yml`
```yaml
- !
discoverRecipes: true
result:
type: LEAD
amount: 2
removeRecipes:
- minecraft:lead
group: "looty:lead"
recipes:
- !
items:
S:
prefab: mineinabyss:silkfang_silk
Z:
prefab: mineinabyss:abyssal_snail_gunk
configuration: |-
|ZZ |
|ZS |
| Z|
```