[Minecraft Game Client/Server] ▲ [Fabric Mod Loader] ◄───► [Fabric Language Kotlin] ▲ [Your Custom Kotlin Mod] Why Modders Choose Kotlin Over Java
This is just a basic example to get you started with creating Fabric mods using Kotlin. For more information and tutorials, check out the Fabric documentation and the Fabric modding community.
@Mixin(PlayerEntity::class) abstract class PlayerMixin @ModifyVariable(method = "attack", at = @At("HEAD")) fun modifyAttackDamage(damage: Float): Float return damage * 1.5f
For a regular player, this mod is a "silent dependency"—you only install it because another mod you want (like ) requires it to run.

This is very helpful.
Thank you