Skip to content

Conversation

@EchoEllet
Copy link
Contributor

Updates the documentation and Javadocs to make it more user-friendly and simplify integration with Controlify by:

  • Updating outdated references.
  • Adding Maven/dependency code snippets and the full file name dev.isxander.controlify.api.entrypoint.ControlifyEntrypoint to make it easier for NeoForge users to create in their IDE or terminal.
  • Documenting how to register a custom radial icon.
  • Clarifying the differences between onControlifyInit and onControlifyPreInit to resolve common confusion.

Related Issues

@EchoEllet EchoEllet force-pushed the docs/improve-public-api-docs branch from 86ba14e to 8e0e979 Compare October 31, 2025 21:38
```kotlin
dependencies {
// You can change "compileOnly" to "implementation" for testing in-game.
compileOnly("dev.isxander:controlify:${project.controlify_version}") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like compileOnlyMod should be used instead when using Fabric Loom.

// vanilla key mappings due explicit native support.
// You could also use ".keyEmulation(MyModKeyMappings.ACTION) to emulates
// the vanilla KeyMapping behavior, which may not always work well.
.addKeyCorrelation(MyModKeyMappings.ACTION)
Copy link
Contributor Author

@EchoEllet EchoEllet Nov 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should point out to consumers that they need to either use keyEmulation or addKeyCorrelation. There is no point in using both, since keyEmulation already calls addKeyCorrelation internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Controlify Bindings API docs is outdated or invalid

1 participant