repo for my hex addons :3
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cleanup from split

+7 -99
+7 -63
README.md
··· 1 - <center> 2 - 3 - <img height="200" src="https://codeberg.org/api/v1/repos/poollovernathan/hexic/raw/src/main/resources/assets/hexic/icon.png" title="hexic icon: a blue stringworm" width="200"/> 4 - 5 - <h1 style="margin-top: 0">hexic</h1> 6 - 7 - [![badge linking to documentation](https://img.shields.io/endpoint?url=https://hexxy.media/api/v0/badge/hexdoc/)](https://hexic.pool.net.eu.org/) 8 - &nbsp; ![look at how much time i wasted](https://hackatime-badge.hackclub.com/U081HJSMURJ/hexic) 9 - 10 - </center> 11 - 12 - a small [hex casting][hexcasting] addon adding whatever features i find neat or that feel interesting, as well as some bugfixes. 13 - 14 - *coming from siege? view [the summary page][siege] too* 15 - 16 - ## new features 17 - * **mediaweave**, can be worn on shoulders and lets you easily cast up to two hexes 18 - * **shardcasting**, letting echo shards work as single-use reusable casting devices for e.g. raycasts 19 - * **stringworms**, little creatures to accompany you while hexxing 20 - * **media pouches**, convenient & efficient media storage that recycles wasted media 21 - * **greater reveal**, permanently displays a list of iotas in chat & deletes them when re-executed (for e.g. status indicators) 22 - * **lani gambits**, allowing casting items to access your staffcasting stack 23 - * **patchwork iotas**, allowing defining custom operations on a set of iotas 24 - * **maps**, fast k→v iota storage (used by patchwork iotas) 25 - * **nbt manipulation**, for thoroughly inspecting items & iotas 26 - * adds `/gimmeiota` (push any iota to stack) for creative players or level 2 ops 27 - * adds `/property` for level 4 ops 28 - 29 - ## foreign compat 30 - * item stacks no longer get voided above 127 31 - * i think i accidentally disabled phantoms 32 - * hexical Hopper can be used with kinetic's Conduits; bypasses ambit 33 - 34 - [hexcasting]: https://modrinth.com/mod/hex-casting 35 - [siege]: https://hexic.pool.net.eu.org/siege.html 36 - 37 - --- 38 - 39 - ## development 40 - 41 - put code in the following files: 42 - 43 - * [`EarlyRiser.scala`](src/main/scala/org/eu/net/pool/hexic/EarlyRiser.scala) — something that needs to get loaded before launch, e.g. agents 44 - * [`Utils.scala`](src/main/scala/org/eu/net/pool/hexic/Utils.scala) — utilities that aren't specifically related to the mod 45 - * [`Hexic.scala`](src/main/scala/org/eu/net/pool/hexic/Hexic.scala) — anything else 1 + # poolcritter/hex-addons 2 + hi! this is a repository for my hexcasting addons (both wip and released). i've spent way too much time (![look at how much time i wasted](https://hackatime-badge.hackclub.com/U081HJSMURJ/hexic)) on these, with little to show for it. 46 3 47 - ## building 48 - 49 - there are three major ways to build: 50 - 51 - * **nix**: `nix-shell`, `gradle runDatagen`, `gradle build` 52 - * **manual**: install aseprite, go, jujutsu, imagemagick, gradle 8.14, and gnu m4, then `gradle runDatagen; gradle build` as usual 53 - 54 - ### docker 55 - 56 - isolated container environment gives you a guarantee of build reproducibility, if you don't care about build speed 57 - 58 - * **simple local build**: `docker build . -f build.Dockerfile -o some/output/path/` 59 - * **build without cloning**: `docker build https://codeberg.org/poollovernathan/hexic.git#main --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 -f build.Dockerfile -o some/output/path/` 60 - 61 - you can optimize your builds by using the cache, which requires creating a build container: `docker buildx create --driver docker-container --name hexic-builder` 62 - 63 - * **precached local build**: `docker build . -f build.Dockerfile -o some/output/path/ --builder hexic-builder --cache-from docker.pool.net.eu.org/hexic:cache` 64 - * **precached build without cloning**: `docker build https://codeberg.org/poollovernathan/hexic.git#main --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 -f build.Dockerfile -o some/output/path/ --builder hexic-builder --cache-from docker.pool.net.eu.org/hexic:cache` 4 + * [hex in yo chests](https://modrinth.com/mod/hexxychests) **(WIP)** adds spells for manipulating storage (and anything you could conceivably think of as storage) 5 + * [**iotaworks**](https://modrinth.com/mod/iotaworks) **(WIP)** adds methods of manipulating the behavior of patterns; currently patchwork iotas (people really like these, it seems) and subscripts 6 + * [tongued hexxy](https://modrinth.com/project/hexxytounge) **(WIP)** will add methods of manipulating chat behavior (once I actually implement it) 7 + * [**phlib**](https://modrinth.com/mod/phlib) adds utilities for hex addons that I find useful; y'all are welcome to use it if you need since I don't plan to break anything 8 + * ~~[**hexic**](https://modrinth.com/mod/hexic)~~ <span style="color: red">(deprecated)</span> [![badge linking to documentation](https://img.shields.io/endpoint?url=https://hexxy.media/api/v0/badge/hexdoc/)](https://hexic.pool.net.eu.org/) was a set of miscellaneous features; it's undergoing a large split right now
-14
build.Dockerfile
··· 1 - FROM nixos/nix 2 - WORKDIR /mnt 3 - ADD minimal.nix minimal.nix 4 - VOLUME /nix/store 5 - RUN nix-build minimal.nix --extra-substituters https://poollovernathan.cachix.org?trusted=1 6 - ADD build.gradle.kts settings.gradle.kts gradle.properties ./ 7 - ADD .git .git 8 - RUN nix-shell minimal.nix --command 'test -d .jj || { jj git init --colocate; jj edit --ignore-immutable @-; }' 9 - RUN --mount=type=cache,dst=/mnt/build/ --mount=type=cache,dst=/mnt/build2001/ --mount=type=cache,dst=/root/.gradle/caches/ nix-shell minimal.nix --command 'gradle -si' 10 - ADD . . 11 - RUN --mount=type=cache,dst=/mnt/build/ --mount=type=cache,dst=/mnt/build2001/ --mount=type=cache,dst=/root/.gradle/caches/ nix-shell minimal.nix --command 'gradle -si runDatagen && gradle -si build && cp -r /mnt/build2001/libs /' 12 - 13 - FROM scratch 14 - COPY --from=0 /libs/ /
-2
build.sh
··· 1 - exec "$(dirname "$0")/gradlew" runDatagen 2 - exec "$(dirname "$0")/gradlew" build
hexic.git

This is a binary file and will not be displayed.

-20
minimal.nix
··· 1 - { 2 - pkgs ? import (fetchTarball "https://github.com/nixos/nixpkgs/archive/fe51d34885f7b5e3e7b59572796e1bcb427eccb1.tar.gz") { config.allowUnfree = true; }, 3 - nixGL ? import (fetchTarball "https://github.com/nix-community/nixGL/archive/310f8e49a149e4c9ea52f1adf70cdc768ec53f8a.tar.gz") { inherit pkgs; }, 4 - }: 5 - 6 - pkgs.mkShell { 7 - name = "hexic"; 8 - JAVA_HOME = pkgs.zulu17; 9 - JDK17 = pkgs.zulu17; 10 - buildInputs = [ 11 - pkgs.aseprite 12 - pkgs.bashInteractive 13 - pkgs.go 14 - pkgs.gnum4 15 - pkgs.gradle_8 16 - pkgs.imagemagick 17 - pkgs.jujutsu 18 - pkgs.zulu17 19 - ]; 20 - }
undocumented-hexic.csv project/hexic/undocumented-hexic.csv