# general properties/settings modid = "hexcasting" book_name = "thehexbook" template = "template.html" recipe_dirs = [ "{fabric.generated}/data/{modid}/recipes", "{forge.generated}/data/{modid}/recipes", ] # NOTE: _Raw means "don't apply variable interpolation to this value" # more on that later pattern_regex = {_Raw='HexPattern\.fromAngles\("([qweasd]+)", HexDir\.(\w+)\),\s*modLoc\("([^"]+)"\)([^;]*true\);)?'} [i18n] lang = "en_us" filename = "{lang}.json" [i18n.extra] "item.minecraft.amethyst_shard" = "Amethyst Shard" "item.minecraft.budding_amethyst" = "Budding Amethyst" "block.hexcasting.slate" = "Blank Slate" # platforms # fabric and forge are optional [common] src = "../Common/src" # NOTE: {...} is variable interpolation from the current table package = "{src}/main/java/at/petrak/hexcasting" resources = "{src}/main/resources" generated = "{src}/generated/resources" pattern_stubs = [ # these are tables so we have the option to add extra per-stub configs (eg. regex) # NOTE: each ^ is like ../ in a file path (^key and ^.key are both valid) # the parent of an item in an array is the table containing the array, not the array # so in this case, {^.package} is common.package { file = "{^.package}/common/casting/RegisterPatterns.java" }, { file = "{^.package}/interop/pehkui/PehkuiInterop.java" }, ] [fabric] src = "../Fabric/src" package = "{src}/main/java/at/petrak/hexcasting/fabric" resources = "{src}/main/resources" generated = "{src}/generated/resources" pattern_stubs = [ { file = "{^.package}/interop/gravity/GravityApiInterop.java" }, ] [forge] src = "../Forge/src" package = "{src}/main/java/at/petrak/hexcasting/forge" resources = "{src}/main/resources" generated = "{src}/generated/resources"