Skip to content

ZhuRuoLing/fabric-example-mod-velocity

 
 

Repository files navigation

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.

About

Example Fabric mod for velocity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%