Shogi
Rule-based, contextually dynamic configuration options for supported mods.
Shogi
<p>This is a library mod that adds a rule-based effect system for use in Minecraft mods. Its most notable use is <a href="https://modrinth.com/mod/waystones" target="_blank" rel="nofollow noopener">Waystones</a>, where it controls the highly dynamic warp requirements, and <a href="https://modrinth.com/mod/unbreakables" target="_blank" rel="nofollow noopener">Unbreakables</a>, where it controls the rules of which blocks are unbreakable.</p>
<p>To achieve this, mods implement the Shogi API and expose properties that can then be configured using a Shogi expression, which is a simple text-based format. For information on how to write Shogi rules or how to implement Shogi for your own mod, see the <a href="https://shogi.twelveiterations.com/guides" target="_blank" rel="nofollow noopener">documentation</a>.</p>
<h3><img src="https://mods.twelveiterations.com/img/features-header.png" alt="Features" width="836" height="40"></h3>
<ul>
<li>Dynamic rule evaluation based on player, dimension, or other context </li>
<li>Simple expression syntax to configure rules as well as JSON support</li>
<li>Conditional logic and aggregates for advanced calculations</li>
<li>Powerful configuration expansion for mod developers with many inbuilt effects</li>
<li>Embeddable lightweight API for mod developers to easily add support</li>
</ul>