smaug 图标

smaug

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0-SNAPSHOT
本资源为搬运资源,原资源地址: https://modrinth.com/mod/smaug-plugin
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4

平台: bukkit paper spigot

标签: game-mechanics technology

资源介绍

Smaug

An interactive crafting plugin for Minecraft servers to create custom items. The plugin allows you to define custom items either in it's own plugin configuration or register your items externally using the API.

Features

This plugin's primary purpose is to allow you to:

  • Define recipes/conversions to create custom items by interacting with stations (plans to integrate MythicMobs/Crucible)
  • Define custom items in-configuration as well as register items externally

Example Usage:

Usage

Defining an item in-configuration can be done like so:

item.yml

test:
    material: DIAMOND
    display-name: <#000000>This is a test item! 
    item-model: minecraft:stone

Note: all text-based fields such as display-name, or lore can use MiniMessage format.

You can inherit properties additively by using the key 'inherits'

test2:
    display-name: <#0000ff>This is the second test item!
    inherits: test

Defining a recipe:

a) Recipes accept item keys in the format : for output, or the keys of the items section. is optional, as the plugin will infer if the key is a member of the minecraft namespace it will default to that, an example is given in the recipe under 'test.output'.

b) Alternatively, if you want to specify a registered item from a specific namespace, e.g. smaug, you can refer to it either by test, or smaug:test if there is a conflict with a key in another namespace.

c) Recipes also allow for forward references, as this is the only way currently to register a recipe, meaning, the recipe expects that the item referenced will be present in the registry at the time the recipe is parsed.

recipe.yml

test:
  output: gold_ingot # a)
  amount: 2 # output amount
  actions: 10 # optional, defaults to 0
  ingredients: 
    items:
      #item_key: amount
      test2: 2
      test_hammer: 9
  type: smaug:anvil #station type

Links

  • Support for the plugin and it's API are available on discord. Any questions that cannot be answered with the content on this page can be asked there.
  • Reporting a bug? please open a ticket on github.

    Credits

  • icon
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Folia Shop

价格:0 墨喵币
下载量:0

查看详情
Text Placeholder API

价格:0 墨喵币
下载量:0

查看详情
YonKaGor Pack

价格:0 墨喵币
下载量:0

查看详情
StellarMC

价格:0 墨喵币
下载量:0

查看详情