Qualia Carpet Addition - Limitations
Last updated version is 2.0.0.
Limitations is a simple scripting-like language, which is based on Java syntax and Minecraft Identifier/ResourceLocation system.
It has been removed in 2.0.0 with crafterLimitation and easyHopperLimitation rules.
Syntax
Limitations supports these elements, and are not space sensitive:
- Long ID (
namespace:pathis item ID,#namespace:pathis tag ID) !,&,|,()that are basically consistent with Java syntax
Symbols are short circuit by default and does not support double symbol short circuit, strictly following Java syntax priority (() -> ! -> & -> | -> ID).
If an ID does not exist or is written incorrectly, it will be discarded, but the rest will be contained.
Examples
!minecraft:stick
Will pass all items other than Stick.#minecraft:planks | #minecraft:logs | minecraft:oak_sapling
Will pass Planks, Logs and Oak Saplings.#minecraft:planks & #minecraft:logs & minecraft:oak_sapling
If#minecraft:planksand#minecraft:logstags contain Oak Sapling, then it will pass Oak Sapling;
otherwise it will not pass any items.