MCPcopy Index your code
hub / github.com/FallingColors/HexMod

github.com/FallingColors/HexMod @v0.11.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.11.3 ↗ · + Follow
3,930 symbols 9,682 edges 643 files 333 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hex Casting

Curseforge | Modrinth | Source

A minecraft mod about casting Hexes, powerful and programmable magical effects, inspired by PSI.

On Forge, this mod requires:

  • PAUCAL
  • Patchouli
  • Kotlin for Forge
  • Caelus elytra api

On Fabric, it requires:

  • PAUCAL
  • Patchouli
  • Fabric Language Kotlin
  • Cardinal Components
  • ClothConfig and ModMenu

Read the documentation online here!

Discord link

The Branches

We are currently developing Hexcasting v0.11.x for 1.20.1, on the main branch.

The 0.10.x versions, for 1.19, are in long-term support. We probably won't be adding any new features, but we will try to fix bugs. Those are on the 1.19 branch.

The 0.9.x versions, for 1.18.2, are in long-term support. We probably won't be adding any new features, but we will try to fix bugs. Those are on the 1.18 branch.

The gh-pages branch is for the online Hex book.

Other branches are old detritus from potential features.

For Developers

We publish artifacts on Maven at [https://maven.blamejared.com/at/petra-k/hexcasting/]. The modern coordinates are at:

hexcasting-[PLATFORM]-[MC VERSION]/[MOD VERSION]

There are some other folders in the hexcasting folder from old CI configurations; ignore those, they're stale.

Please only use things in the at.petrak.hexcasting.api package. (We do try to keep the API fairly stable, but we don't do a very good job.) If you find you need something not in there yell at me on Discord.

Contributing

Contributions are welcome via pull requests on GitHub. Please link your PR to any issues that it fixes. Note that if your PR makes many unrelated changes, we may ask you to split it up into several smaller PRs to make it simpler to review. Also, feel free to update the [UNRELEASED] section in CHANGELOG.md to document the changes in your PR (in a human-readable and concise manner, not just copying the commit messages).

Extension points exported contracts — how you extend this code

OverlayPredicate (Interface)
Predicate for matching on a block state. [22 implementers]
Common/src/main/java/at/petrak/hexcasting/api/client/ScryingLensOverlayRegistry.java
ExtendedTexture (Interface)
(no doc) [4 implementers]
Fabric/src/main/java/at/petrak/hexcasting/fabric/client/ExtendedTexture.java
TagsProviderEFHSetter (Interface)
(no doc) [2 implementers]
Forge/src/main/java/at/petrak/hexcasting/forge/datagen/TagsProviderEFHSetter.java
IotaHolderItem (Interface)
Items that store an iota to their tag can implement this interface. On both the Forge and Fabric sides, the registry [6 …
Common/src/main/java/at/petrak/hexcasting/api/item/IotaHolderItem.java
CCIotaHolder (Interface)
(no doc) [2 implementers]
Fabric/src/main/java/at/petrak/hexcasting/fabric/cc/adimpl/CCIotaHolder.java
ForgeAccessorBuiltInRegistries (Interface)
(no doc)
Forge/src/main/java/at/petrak/hexcasting/forge/mixin/ForgeAccessorBuiltInRegistries.java
PigmentItem (Interface)
Items which can be used as a colorizer can implement this interface. On both the Forge and Fabric sides, the registr [12 …
Common/src/main/java/at/petrak/hexcasting/api/item/PigmentItem.java
VillagerConversionCallback (Interface)
Callback for when a LivingEntity turns into another entity, like a villager being struck by lightning. This event is fir
Fabric/src/main/java/at/petrak/hexcasting/fabric/event/VillagerConversionCallback.java

Core symbols most depended-on inside this repo

modLoc
called by 323
Common/src/main/java/at/petrak/hexcasting/api/HexAPI.java
of
called by 234
Common/src/main/java/at/petrak/hexcasting/client/render/HexPatternLike.java
get
called by 223
Forge/src/main/java/at/petrak/hexcasting/forge/cap/adimpl/CapClientCastingStack.java
fromAngles
called by 213
Common/src/main/java/at/petrak/hexcasting/api/casting/math/HexPattern.kt
add
called by 173
Common/src/main/java/at/petrak/hexcasting/api/utils/NBTDsl.kt
make
called by 171
Common/src/main/java/at/petrak/hexcasting/common/lib/hex/HexActions.java
add
called by 161
Common/src/main/java/at/petrak/hexcasting/common/command/BrainsweepCommand.java
copy
called by 103
Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/emi/BrainsweepeeEmiStack.java

Shape

Method 2,967
Class 740
Function 135
Interface 79
Enum 8
Route 1

Languages

Java73%
Kotlin25%
Python2%

Modules by API surface

Fabric/src/main/java/at/petrak/hexcasting/fabric/xplat/FabricXplatImpl.java54 symbols
Common/src/main/java/at/petrak/hexcasting/api/utils/NBTDsl.kt53 symbols
Common/src/main/java/at/petrak/hexcasting/api/casting/eval/CastingEnvironment.java53 symbols
Forge/src/main/java/at/petrak/hexcasting/forge/xplat/ForgeXplatImpl.java52 symbols
Common/src/main/java/at/petrak/hexcasting/api/utils/NBTHelper.kt52 symbols
Common/src/main/java/at/petrak/hexcasting/xplat/IXplatAbstractions.java49 symbols
Common/src/main/java/at/petrak/hexcasting/api/casting/circles/BlockEntityAbstractImpetus.java38 symbols
Common/src/main/java/at/petrak/hexcasting/api/mod/HexConfig.java37 symbols
Fabric/src/main/java/at/petrak/hexcasting/fabric/FabricHexConfig.java36 symbols
Common/src/main/java/at/petrak/hexcasting/client/render/PatternSettings.java32 symbols
Forge/src/main/java/at/petrak/hexcasting/forge/ForgeHexConfig.java30 symbols
Common/src/main/java/at/petrak/hexcasting/api/HexAPI.java30 symbols

For agents

$ claude mcp add HexMod \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact