Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.1 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.1 KB

Fabric Example Mod

Setup

For setup instructions please see the fabric wiki page that relates to the IDE that you are using.

License

This template is available under the CC0 license. Feel free to learn from it and incorporate it in your own projects.

Development

Add remap=false to mixin annotation because there has no obfuscation in velocity.

Example:

package com.example.mixin;

import com.velocitypowered.proxy.VelocityServer;
import org.spongepowered.asm.mixin.Mixin;

@Mixin(value = VelocityServer.class, remap = false)
public class ExampleMixin {
}

Launch

Do not use the gradle task provided by fabric-loom runClient or runServer

DevLaunch Does Not Work!

Build

Just use build task to build your mod.

Reminder: You may use shadowJar plugin to exclude or relocate some library classes because they might be shadowed into velocity jar.