Fabric
This page describes how to integrate Lamp with Fabric, as well as what to expect out of it.
Setting up
Prerequisites
Adding Lamp dependency
<dependencies>
<!-- Required for all platforms -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.common</artifactId>
<version>[VERSION]</version>
</dependency>
<!-- Fabric module -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.fabric</artifactId>
<version>[VERSION]</version>
</dependency>
<!-- Optional: Brigadier module -->
<dependency>
<groupId>io.github.revxrsal</groupId>
<artifactId>lamp.brigadier</artifactId>
<version>[VERSION]</version>
</dependency>
</dependencies>Optional: Preserve parameter names
Fabric-specific annotations
@CommandPermission
@CommandPermissionSupported Fabric types
Example
Last updated
Was this helpful?