8000 GitHub - cf4m/cf4m: Client Framework for Minecraft
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

cf4m/cf4m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

0