Item Stages
This mod is an addon for the GameStages API. It allows for items and blocks to be placed into custom progression systems. You should check out the GameStage API mod's description for more info. To give a brief run down, stages are parts of the progression system set up by the modpack or server. Stages are given to players through a command, which is typically ran by a questing mod, advancement, or even a Command Block.
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
Setup
This mod uses CraftTweaker for configuration.
This mod adds one new ZenScript method for adding item stage restrictions. You can use a specific item/block id, or an ore dictionary entry. If an ore dictionary is used, all entries for that oredict will be restricted. mods.ItemStages.addItemStage(String stage, Item/Block/OreDict);
Effects
When something is restricted by this mod, several things will happen to prevent the player from using the item.
- Holding a restricted item will cause it to be dropped immediately. (Configurable)
- Equipping the item to offhand, armor, or bauble slot will cause it to be dropped. (Configurable)
- Players can not right click or left click with the item. (Configurable)
- The tooltip will be replaced with a restricted message.
- The item will not be visible in JEI
Example Script
// Example Script
// Locks stone to stage one
mods.ItemStages.addItemStage("one", <minecraft:stone>);
// Locks all registered records to stage two
mods.ItemStages.addItemStage("two", <ore:record>);
// Locks all items from a mod to a stage
mods.ItemStages.stageModItems("one", "minecraft");
// Locks a liquid to a stage. This only affects JEI
mods.ItemStages.stageLiquid("nine", <liquid:water>);
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 |
- Fix restrictions created with CraftTweaker scripts not being created on dedicated clients. [(2ceaff5)](https://github.com/Darkhax-Minecraft/ItemStages/commit/2ceaff5)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- lothrazar
- Spencer Gilbert
- mums spaghetti
- Pongo Sapiens
- noobanidus
- Darkosto
- Port to MC 1.20.3 [(40e8a7c)](https://github.com/Darkhax-Minecraft/ItemStages/commit/40e8a7c)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- lothrazar
- Spencer Gilbert
- Pongo Sapiens
- noobanidus
- Darkosto
- Update build dependencies. [(e0a278b)](https://github.com/Darkhax-Minecraft/ItemStages/commit/e0a278b)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- lothrazar
- Spencer Gilbert
- Pongo Sapiens
- noobanidus
- Darkosto
- Port to MC 1.20.2 [(bbbfb80)](https://github.com/Darkhax-Minecraft/ItemStages/commit/bbbfb80)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- lothrazar
- Spencer Gilbert
- Pongo Sapiens
- noobanidus
- Darkosto
- Add Russian localization. Thanks to TheAnaxMan. [(6bd52a6)](https://github.com/Darkhax-Minecraft/ItemStages/commit/6bd52a6)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- lothrazar
- Spencer Gilbert
- Pongo Sapiens
- noobanidus
- Darkosto
- Port to MC 1.20.1 [(461bd4e)](https://github.com/Darkhax-Minecraft/ItemStages/commit/461bd4e)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- Spencer Gilbert
- Pongo Sapiens
- Charles Bernal
- noobanidus
- Darkosto
- Borealis German
- Port to MC 1.19.4, thanks to remplerus
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- Spencer Gilbert
- Pongo Sapiens
- Charles Bernal
- Darkosto
- Borealis German
- Port to Minecraft 1.20 [(402c13c)](https://github.com/Darkhax-Minecraft/ItemStages/commit/402c13c)
This project is made possible by [Patreon](https://www.patreon.com/Darkhax?itemstages) support from players like you. Thank you!
- Spencer Gilbert
- Pongo Sapiens
- Charles Bernal
- Darkosto
- Borealis German
<li>Remove support for Tweedle. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/9292200" rel="nofollow">(9292200)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Spencer Gilbert</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
<li>Borealis German</li>
<li>fbigummy</li>
</ul>
<ul>
<li>lothrazar</li>
<li>Spencer Gilbert</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
<li>Borealis German</li>
</ul>
<li>Initial port to 1.18.2, thanks to remplerus for doing most of the work.</li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>lothrazar</li>
<li>Spencer Gilbert</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
<li>Borealis German</li>
</ul>
<li>Merge branch 'forge-1.16.5' of <a href="https://github.com/Darkhax-Minecraft/ItemStages" rel="nofollow">https://github.com/Darkhax-Minecraft/ItemStages</a> into forge-1.16.5 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/3b43d97" rel="nofollow">(3b43d97)</a></li>
<li>Add exclusions to createModRestriction <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/605565e" rel="nofollow">(605565e)</a></li>
<li>Equipment is now handled separately from inventory. This now uses the preventEquipment method. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/b3ee4cd" rel="nofollow">(b3ee4cd)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>lothrazar</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Add german localization. Thanks to cerus. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/2a21fbd" rel="nofollow">(2a21fbd)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>lothrazar</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Add french localization. Thanks to Lykrast. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/36a89b5" rel="nofollow">(36a89b5)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>lothrazar</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Added example scripts to CraftTweaker's /example command. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/ea8b194" rel="nofollow">(ea8b194)</a></li>
<li>Fix restrictions being tested redundantly. #63 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/934a201" rel="nofollow">(934a201)</a></li>
<li>Cache restrictions that prevent holding in inventory separately. #63 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/83d1932" rel="nofollow">(83d1932)</a></li>
<li>Add mod restriction that accepts multiple mod IDs. #63 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/8fa1dc1" rel="nofollow">(8fa1dc1)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>lothrazar</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Remove stream overhead from Restriction#isRestricted <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/b711c8f" rel="nofollow">(b711c8f)</a></li>
<li>Skip inventory checks for empty slots. #63 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/372c9b2" rel="nofollow">(372c9b2)</a></li>
<li>Prevent RestrictionManager from looking up empty/air stacks. #63 <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/9f66af3" rel="nofollow">(9f66af3)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>lothrazar</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Move from cache of an ingredient manager to a fresher copy. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/45605fc" rel="nofollow">(45605fc)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Compiled against CraftTweaker 7.1.1.400. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/29ede20" rel="nofollow">(29ede20)</a></li>
<li>Fix JEI support causing errors under certain multiplayer circumstances. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/50dbfd7" rel="nofollow">(50dbfd7)</a></li>
<li>Fix tooltip code causing crashes on the server. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/cb77c83" rel="nofollow">(cb77c83)</a></li>
<li>Improve stage restriction registration by moving to CraftTweaker's Action system. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/bc9f484" rel="nofollow">(bc9f484)</a></li>
<li>Fixed code formatting. <a href="https://github.com/Darkhax-Minecraft/ItemStages/commit/aa07247" rel="nofollow">(aa07247)</a></li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<p>This release is considered an alpha preview. Preview versions are meant to be used to collect user feedback on changes and find any critical bugs. If you use this version to build your pack please keep this in mind. There may be breaking changes in future versions or serious bugs that have not been found yet. </p>
<ul>
<li>Port to Minecraft 1.16.5</li>
<li>Migrate to Gradle 7.1.1</li>
<li>Migrate to ForgeGradle 5.1</li>
<li>Migrate from MCP mappings to official Mojang one.</li>
</ul>
<p>This mod was made possible by <a href="https://www.patreon.com/Darkhax?itemstages" rel="nofollow">Patreon</a> support from players like you. Thank you!</p>
<ul>
<li>Rempler</li>
<li>arcanearchivesmod</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Update build.gradle (#53) - Jasmine Iwanek</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?ItemStages" rel="nofollow">Patreon</a></p>
<ul>
<li>NillerMedDild</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Added "stageLiquidAndBucket" method. Closes #47 - Tyler Hancock</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?ItemStages" rel="nofollow">Patreon</a></p>
<ul>
<li>NillerMedDild</li>
<li>Jonathan McManus</li>
<li>Varitek</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Fixed order of operations for comparing items. Fixes several obscure bugs where things fail to be staged. #45 - Tyler Hancock</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?ItemStages" rel="nofollow">Patreon</a></p>
<ul>
<li>NillerMedDild</li>
<li>Jonathan McManus</li>
<li>Varitek</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Added example of new jei category feature to the readme. - Tyler Hancock</li>
<li>Formatting changes. - Tyler Hancock</li>
<li>Added a command to dump some of the stages. - Tyler Hancock</li>
<li>Added JEI Recipe Category hiding. - Tyler Hancock</li>
<li>Remove deprecated GameStages and Bookshelf code. - Tyler Hancock</li>
<li>Removed use of deprecated JEI code. - Tyler Hancock</li>
<li>Updated dependencies. Now requires at least JEI 4.14.4.264, and GameStages 2.0.114. - Tyler Hancock</li>
<li>Fixed http leak when accessing dependencies in dev environment. - Tyler Hancock</li>
<li>Moved JEI code to the compat dir. - Tyler Hancock</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?ItemStages" rel="nofollow">Patreon</a></p>
<ul>
<li>NillerMedDild</li>
<li>Jonathan McManus</li>
<li>Tristan McMahon</li>
<li>Pongo Sapiens</li>
<li>Darkosto</li>
</ul>
<li>Moved to new gradle build secrets system, and added thanks to patreons in changelog. - Tyler Hancock</li>
</ul>
<p>Huge thanks to my supporters on <a href="https://www.patreon.com/Darkhax?MCChangelog?ItemStages" rel="nofollow">Patreon</a></p>
<ul>
<li>Niels Pilgaard Gr�ndahl</li>
<li>yaibatoken</li>
<li>Darkosto</li>
</ul>
<li>Improved compat with modded tooltips. - Tyler Hancock</li>
</ul>
<li>Added info about undocumented features. - Tyler Hancock</li>
<li>Added the ability to restrict info from tooltips. - Tyler Hancock</li>
<li>Build against JEI itself and not just the API. - Tyler Hancock</li>
<li>Build against the latest JEI - Tyler Hancock</li>
</ul>
<li>refactor: remove un-needed system out (#36) - Kieron Richardson</li>
</ul>
<li>Fixed weird deobf issue with FG. - Tyler Hancock</li>
<li>Updated gamestage dep - Tyler Hancock</li>
</ul>
<li>Added some more examples to the readme. - Tyler Hancock</li>
</ul>
<li>Updated minimum version of GameStages to 2.0.109. - Tyler Hancock</li>
<li>Fixed some client/server interaction issues with using items. - Tyler Hancock</li>
<li>Fixed comparisons with partial NBT not working as expected on tags with sub compounds or tag lists. - Tyler Hancock</li>
<li>Fixed tooltips not being modified. - Tyler Hancock</li>
<li>Fixed some files having weird formatting. - Tyler Hancock</li>
</ul>