Toasty 图标

Toasty

作者:rebot | 分类:模组

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

Minecraft 版本: 1.21.1

平台: fabric

资源介绍

Toasty

Toasty is a Minecraft Mod that allows you to display toasts after certain events happen in game.

icon.png

Toasty is fully clientside.

Adding custom toasts

A custom toast can be added using a resourcepack and placing a JSON file under assets/<namespace>/toasts.

A toast file looks like this:

{
  "toast": {
    "factory": {
      //optional, defaults to true
      "display_once": true,
      //optional, defaults to 5000, or 5 secs
      "display_time_in_milliseconds" : 5000,
      //The item to display on the left corner
      "item": "minecraft:bread",

      //Text and title are required Component fields. This means they can be translated,
      //colored and styled just like any other text you can see in game.
      "text": "Display toasts after certain actions are performed. Fully clientside!",
      "title": "Toasty helps customising your pack!"
    },
    //As of now, only this factory exists
    "toast_factory": "toasty:simple"
  },
  //A toast source is the way through which a player sees the Toast.
  //A toast source's targets are heavily dependant on the source.
  "toast_source": [
    {
      "source_id": "toasty:on_login",
      "targets": ["toasty:on_login"]
    }
  ]
}

Toast Factories

As of now, the only type of factory enabled is toasty:simple.

Toast Sources

  • toasty:on_login - Displays the toast when logging into a world. Requires a non-empty targets list.
  • toasty:item_pickup - Displays the toast after picking up an item in the world. A target is the ResourceLocation that identifies the item. For example, minecraft:iron_pickaxe.
  • toasty:entity_kill - Displays the toast after killing a certain entity type. A target is the ResourceLocation that identifies the entity type. For example, minecraft:chicken.

Saved locations

Toasty is fully clientside and uses the toasty folder at the root of your minecraft instance to keep
track of the toasts you have seen throughout your playthrough.

Future plans

  • A screen to create toasts in game.
  • CraftTweaker support
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
[balls_game]

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

查看详情
ReadyHomes

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

查看详情
Something + Origin

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

查看详情
Mythic SMP Animated Add-on

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

查看详情