Przejdź do treści
SoulFire LogoSoulFire

Plugins

Learn why SoulFire plugins are Fabric mods and how this affects compatibility.

Ten poradnik jest dostępny tylko po angielsku.

Plugins are Fabric mods

SoulFire runs the official Minecraft client code as a Fabric mod. SoulFire plugins are also Fabric mods, and the standard Fabric mod loader loads them during startup. This design lets plugins use Minecraft and Fabric APIs directly.

Why Fabric?

  • Vanilla behavior: Bots use the official Minecraft client code.
  • Physics and movement: Bots use Minecraft's movement, prediction, and collision code.
  • Protocol behavior: Network communication follows the official client.
  • Version updates: SoulFire can reuse the Minecraft code for new versions.
  • Feature development: Developers can build features on existing Minecraft code.
  • Third-party mods: Some Fabric mods work with SoulFire without changes.

What this means for plugins

  • Plugins use the standard Fabric mod structure, including fabric.mod.json and entrypoints
  • The Fabric mod loader loads plugins from minecraft/mods in the SoulFire data directory
  • Plugins can use Mixins to modify both Minecraft and SoulFire code
  • Plugins have full access to the Minecraft codebase and Fabric APIs
  • Some existing Fabric mods work with SoulFire without changes

This power is meant for advanced users. If visual automation is enough, stay in Scripting. Move to Development when you need Mixins, packet hooks, custom settings pages, or direct access to Minecraft and SoulFire internals.

Built-in plugins vs community plugins

  • Built-in plugins ship with SoulFire and can be enabled or disabled per project.
  • Community plugins are external Fabric mods that you add yourself.
  • Both use the same underlying Fabric loading model.

For the current built-in list, see Built-in plugins.

Compatibility expectations

Some Fabric mods work with SoulFire without modification, but compatibility is not universal.

  • Mods that depend on rendering, audio, or other client-only features usually do not work.
  • Mods that change gameplay logic, networking, inventory behavior, or automation are more likely to work.
  • Mixins can change Minecraft and SoulFire code. Install only plugins that you trust.

Writing plugins

Ask plugin development questions in Discord.

The short version:

  1. Start from the official SoulFirePluginExample template
  2. Add the current SoulFire dependencies from CodeMC Maven
  3. Call SoulFireAPI.loadPlugin(new MyPlugin()) from your Fabric ModInitializer
  4. Build a standard Fabric mod jar and place it in minecraft/mods

Write your first plugin shows each step.

See Development for the full developer workflow. It covers setup, Gradle, settings, events, bot control, Mixins, access wideners, architecture, and API references.

Ostatnia aktualizacja:

Czy ta strona jest pomocna?