Infinite Use Reforged

Quick rating

Community listing page, reviews here may not be monitored by the author.

Infinite Use Reforged

By MCclipOwner , Kaister_

No reviews yet

Make almost any item infinite with one command. Endless blocks and consumables, unbreakable tools, reusable Totems, infinite projectiles, and more.

Mod Loaders
Minecraft

About

Description

Infinite Use Reforged

Infinite Use Reforged is an independent Forge 1.20.1 mod inspired by Infinite Use, originally created by MCclip.

Mark almost any item as Infinite and use it without consuming the item, reducing its durability, or losing it through many of Minecraft's normal item interactions.

What started as an attempt to bring the original concept to Forge 1.20.1 has since grown into an independently written implementation with dedicated support for Forge and modded item behaviors.

♾️ Infinite Items

• Food, blocks, potions, buckets, boats, fireworks, Ender Pearls, and many other consumable or placeable items can be used without being consumed.

• Swords, tools, armor, bows, crossbows, fishing rods, Elytra, and other damageable items can be protected from durability loss.

• Infinite Totems of Undying can activate repeatedly without being consumed.

• Infinite ammunition is supported for bows and crossbows, with dedicated handling to prevent fired projectiles from becoming a source of duplication.

• Thrown and returning weapons are supported, including vanilla Loyalty and dedicated handling for modded returning weapons.

• Infinite items preserve their state through NBT and remain Infinite across save/load and dedicated servers.

⌨️ Commands

/infiniteuse or /iu — Toggles Infinite Use on the held item.

/iu on — Marks the held item as Infinite.

/iu off — Removes Infinite Use from the held item.

/iu toggle — Explicitly toggles the current state.

• Commands require OP permission level 2.

🔗 Mod Compatibility

• Includes dedicated compatibility for Farmer's Delight and several mods from its addon ecosystem.

• Includes dedicated handling for Simply Swords, including custom returning weapons such as the Wickpiercer.

• Includes compatibility for several special inventory, crafting, smithing, container-return, and modded item behaviors that do not follow vanilla consumption logic.

• Modded items can implement consumption and inventory behavior in very different ways, so some items may still require dedicated compatibility.

🐛 Compatibility and Bug Reports

• If an item doesn't behave correctly, an Infinite item is unexpectedly consumed, or you encounter another incompatibility, please leave a comment on the CurseForge project page.

• When reporting compatibility problems, including the affected item's name and the mod it comes from makes investigating the issue much easier.

• I'll try to investigate and fix reported issues when possible, especially compatibility problems with other mods.

🖥️ Server Support

• Infinite Use Reforged supports dedicated servers.

• The mod's Infinite Use functionality is server-side and does not need to be installed on clients when used on a dedicated server.

🔧 Version Support

• Currently developed specifically for Minecraft Forge 1.20.1.

• I currently have no plans to port the mod to other Minecraft versions or mod loaders unless there is a reason or need to do so.

📜 About Infinite Use

Infinite Use Reforged began because I wanted to use MCclip's Infinite Use in my own Forge 1.20.1 modpack and couldn't find an equivalent.

As Forge-specific problems, duplication edge cases, projectile behavior, returning weapons, and mod compatibility needed dedicated handling, the project gradually became a separate implementation.

Infinite Use Reforged does not use the original mod's code and is better described as an independent Forge implementation inspired by Infinite Use rather than a direct port.

Full credit for the original mod and concept goes to MCclip.

Original mod: Infinite Use by MCclip

InfiniteUse

YouTube

Fabric Fabric API

Make any item infinite with one command. Totems become unlimited. Blocks place forever. Tools never break.

Features

A single command turns the item in your main hand into an infinite item:

  • Stack count never decreases — eat food, place blocks, throw splash potions, shoot arrows, fire ender pearls, drink potions, use buckets... the stack never goes down.
  • Durability never decreases — swords, pickaxes, shears, bows, fishing rods, crossbows, elytra... the bar stays full.
  • Totems of Undying — survive death as many times as you want from a single totem.
  • End Crystals, Boats, Eggs, Snowballs, Splash Potions, all subclass items — covered via a unified ItemStack dispatch hook.

The marker is stored as an NBT tag (1.16.5–1.20.4) or as a custom DataComponent (1.20.5+), so it persists across save/load and works on dedicated servers.

Move duplication is fixed

Earlier naive implementations duplicate items when you shift-click them in inventories (the source stack doesn't decrement, but the destination still receives the items). InfiniteUse uses a thread-local consume context: cancellation only triggers when the stack is actually being consumed (use / place / eat / totem trigger), not during inventory transfers. Move freely without duplication.

Commands

Requires OP permissions (level 2).

Command Description
/infiniteuse or /iu Toggle InfiniteUse on the held item
/iu on Mark the held item as infinite
/iu off Remove the mark
/iu toggle Same as no argument
/iu status Show current state of the held item

Requirements

  • Fabric Loader
  • Fabric API

Each jar targets one Minecraft version. Use the jar that exactly matches your Minecraft version.

Jar / Minecraft compatibility table

Jar file Compatible Minecraft version
infiniteuse-mc1.16.5-1.0.0.jar 1.16.5
infiniteuse-mc1.17.1-1.0.0.jar 1.17.1
infiniteuse-mc1.18.2-1.0.0.jar 1.18.2
infiniteuse-mc1.19.4-1.0.0.jar 1.19.4
infiniteuse-mc1.20.1-1.0.0.jar 1.20.1
infiniteuse-mc1.20.4-1.0.0.jar 1.20.2 / 1.20.3 / 1.20.4
infiniteuse-mc1.20.6-1.0.0.jar 1.20.5 / 1.20.6
infiniteuse-mc1.21.1-1.0.0.jar 1.21 / 1.21.1
infiniteuse-mc1.21.2-1.0.0.jar 1.21.2
infiniteuse-mc1.21.3-1.0.0.jar 1.21.3
infiniteuse-mc1.21.4-1.0.0.jar 1.21.4
infiniteuse-mc1.21.5-1.0.0.jar 1.21.5
infiniteuse-mc1.21.6-1.0.0.jar 1.21.6
infiniteuse-mc1.21.7-1.0.0.jar 1.21.7
infiniteuse-mc1.21.8-1.0.0.jar 1.21.8
infiniteuse-mc1.21.9-1.0.0.jar 1.21.9
infiniteuse-mc1.21.10-1.0.0.jar 1.21.10
infiniteuse-mc1.21.11-1.0.0.jar 1.21.11

Versions not listed (1.16.0-1.16.4, 1.17.0, 1.18.0/1.18.1, 1.19.0-1.19.3, 1.20.0, etc.) are not supported — Minecraft's APIs differ enough between point releases that a mismatched jar will fail to load or crash.

How it works

A Mixin on ItemStack#decrement and ItemStack#setDamage cancels the operation only when:

  1. The stack carries the InfiniteUse marker, AND
  2. We are inside a "consume" path (Item#use, useOnBlock, finishUsing, onStoppedUsing, or LivingEntity#tryUseDeathProtector / tryUseTotem).

Inventory operations (drag, shift-click, hopper transfer, drop) take place outside this context, so counts decrement normally — no duplication.

Links

YouTube: MC clip

Subscribe for updates and tutorials!


日本語

コマンド一発でメインハンドのアイテムを 無限化 するFabric MOD。

特徴

  • スタック数が減らない — 食べる・置く・スプラッシュポーション投擲・矢発射・エンダーパール・ポーション飲み・バケツ使用…全部減りません
  • 耐久値が減らない — 剣・ピッケル・ハサミ・弓・釣竿・クロスボウ・エリトラ…バーは常に満タン
  • トーテム・オブ・アンダイング無限 — 1個のトーテムで何度でも蘇生
  • エンドクリスタル / ボート / 卵 / 雪玉 / スプラッシュポーション / その他サブクラス系アイテムItemStack の統一エントリで全部カバー

マーカーは NBT タグ(1.16.5〜1.20.4)または カスタム DataComponent(1.20.5以降)で保存。セーブ&ロードを跨いでも維持され、専用サーバでも動作します。

アイテム移動時の複製を解決済み

素朴な実装だとシフトクリック移動時に「移動先には入る・移動元は減らない」で複製になります。本MODは スレッドローカルの消費コンテキスト を使い、実際にアイテムを 消費 する経路(使用/設置/食べる/トーテム発動)でのみキャンセルが発動します。インベントリ移動・ホッパー輸送・ドロップは通常通りに進むので複製しません。

コマンド

OP権限(レベル2)が必要。

コマンド 動作
/infiniteuse または /iu メインハンドのアイテムを無限化トグル
/iu on 無限化をON
/iu off 無限化をOFF
/iu toggle 引数なしと同じ
/iu status 現在の状態を表示

対応バージョン

各 jar は 1 つの Minecraft バージョン専用 です。お使いの Minecraft バージョンに合った jar を選んでください。

jar と対応 Minecraft バージョン対応表

jar ファイル 対応 Minecraft バージョン
infiniteuse-mc1.16.5-1.0.0.jar 1.16.5
infiniteuse-mc1.17.1-1.0.0.jar 1.17.1
infiniteuse-mc1.18.2-1.0.0.jar 1.18.2
infiniteuse-mc1.19.4-1.0.0.jar 1.19.4
infiniteuse-mc1.20.1-1.0.0.jar 1.20.1
infiniteuse-mc1.20.4-1.0.0.jar 1.20.2 / 1.20.3 / 1.20.4
infiniteuse-mc1.20.6-1.0.0.jar 1.20.5 / 1.20.6
infiniteuse-mc1.21.1-1.0.0.jar 1.21 / 1.21.1
infiniteuse-mc1.21.2-1.0.0.jar 1.21.2
infiniteuse-mc1.21.3-1.0.0.jar 1.21.3
infiniteuse-mc1.21.4-1.0.0.jar 1.21.4
infiniteuse-mc1.21.5-1.0.0.jar 1.21.5
infiniteuse-mc1.21.6-1.0.0.jar 1.21.6
infiniteuse-mc1.21.7-1.0.0.jar 1.21.7
infiniteuse-mc1.21.8-1.0.0.jar 1.21.8
infiniteuse-mc1.21.9-1.0.0.jar 1.21.9
infiniteuse-mc1.21.10-1.0.0.jar 1.21.10
infiniteuse-mc1.21.11-1.0.0.jar 1.21.11

上記に載っていないバージョン(1.16.0〜1.16.4、1.17.0、1.18.0/1.18.1、1.19.0〜1.19.3、1.20.0 など)は 非対応 です。Minecraft の API がポイントリリース間で十分に変化するため、合わない jar はロードに失敗するかクラッシュします。

仕組み

ItemStack#decrementItemStack#setDamage をMixinで横取りし、以下の条件を両方満たす場合にだけキャンセルします:

  1. 対象スタックに InfiniteUse マーカーが付いている
  2. 「消費パス」内(Item#use / useOnBlock / finishUsing / onStoppedUsing / LivingEntity#tryUseDeathProtectortryUseTotem

インベントリ操作(ドラッグ・シフトクリック・ホッパー輸送・ドロップ)はこの条件外なので普通にスタックが減り、複製しません。

YouTube

チャンネル: MCクリップ

チャンネル登録よろしく!