Custom Item Interactions 图标

Custom Item Interactions

作者:rebot | 分类:模组

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

Minecraft 版本: 1.12.2

平台: forge

标签: game-mechanics utility

资源介绍

Custom Item Interactions

More interactive than ever!

A simple mod that applies custom functionality to right-click interactions with fluids, similar to filling a bucket with water, and using items, such as eating and drinking.

? About

Have you ever wanted to make a custom mug that fills with water for beer when you right click water? Or filling a bowl with lava? Now you can! With existing items (or creating new ones with ContentTweaker), you can not only set interactions with liquids, you can also set interactions with consuming food items!

  • Want a mug of beer to leave behind an empty mug like the vanilla glass bottle? Done!
  • Want a bandage-like food item created in ContentTweaker to leave behind threads upon use? Easy!
  • Want to leave bones behind after eating a cooked chicken? See the config example!

The config can be updated in-game through the Forge Mod Options menu for real-time testing.

Both fluid and item use interactions allow for optional commands to be run post-interaction, allowing you to make particles, play sounds, grant advancements/quests, etc.

Mods that auto-sort inventories may have issues. In the case of something like Inventory Tweaks, set enableAutoRefill=false.

? Fluid Interactions

  • If a fluid X is right-clicked while holding item A, item A is replaced with item B
  • Optional (series of) commands are executed upon the event, so sounds can be played, particles can be spawned, etc.
  • Commands are executed in an OP player context, which supports every common command variable, such as @p, @a, @r, @s, etc.

Syntax: fluid,input_item,output_item[,command1;command2;command3...]

Example for soaking a book in water into paper and playing a sound: water,minecraft:book,minecraft:paper,playsound block.cloth.break player @p

? Item Use Interactions

  • If a consumable item A is used up, item A is replaced with item B
  • Optional (series of) commands are executed upon the event, so sounds can be played, particles can be spawned, etc.
  • Commands are executed in an OP player context, which supports every common command variable, such as @p, @a, @r, @s, etc.

Syntax: input_item,output_item[,command1;command2;command3...]

Example for returning bones when eating cooked chicken: minecraft:cooked_chicken,minecraft:bone,playsound entity.skeleton.step player @p


This mod was commissioned by Ski_ for Minecraft 1.12.2.

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

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Immortal│不朽

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

查看详情
HeadDrop

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

查看详情
REI Custom Command

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

查看详情
Soul Totem

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

查看详情