Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.31 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.31 KB

Client Framework for Minecraft (CF4M)

Install

Maven URL

JitPack

Releases

Demo

A sample module

@Module("Sprint")
public class Sprint {
    @Event
    private void onUpdate(UpdateEvent updateEvent) {
        System.out.println("a sample");
    }
}

A sample command

@Command({"e", "enable"})
public class EnableCommand {
    @Exec
    private void exec() {
        System.out.println("a sample");
    }
}

A sample config

@Config("Module")
public class ModuleConfig {
    @Load
    public void load() {
        System.out.println("Load file");
    }

    @Save
    public void save() {
        System.out.println("Save file");
    }
}

More