Fabric
This page describes how to integrate Lamp with Fabric, as well as what to expect out of it.
Last updated
This page describes how to integrate Lamp with Fabric, as well as what to expect out of it.
Last updated
Java 21 or newer
To add Lamp to your project, add the following (depending on your project structure):
Lamp identifies parameters by their names and uses them to generate relevant command metadata. By default, Java does not preserve parameter names reflectively. You need to add the following to your project:
@CommandPermission
Adds a command permission level for the given command
net.minecraft.server.command.ServerCommandSource
and its subclasses in place of CommandActor
net.minecraft.server.network.ServerPlayerEntity
net.minecraft.world.World
Latest version: