You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developers/controlify-entrypoint.mdx
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,24 +49,26 @@ dependencies {
49
49
50
50
## Registering the entrypoint
51
51
52
-
- On Fabric, you register an entrypoint like any other, by adding an entry to your `fabric.mod.json` file under the `entrypoints` section.
53
-
- On NeoForge, you register an entrypoint using a Java service provider interface (SPI) in **`META-INF/services/dev.isxander.controlify.api.entrypoint.ControlifyEntrypoint`**.
54
-
55
-
<CodeTabs>
56
-
```json !!tabs (Fabric) fabric.mod.json
57
-
{
58
-
"entrypoints": {
59
-
"controlify": [
60
-
"com.example.mymod.ControlifyEntrypoint"
61
-
]
62
-
}
63
-
}
64
-
```
52
+
The entrypoint can be registered using a
53
+
Java service provider interface (SPI) in **`META-INF/services/dev.isxander.controlify.api.entrypoint.ControlifyEntrypoint`**
0 commit comments