Useful Minecraft mod with cursor utilities with own API. Full information on mods.io
At first step you should get API sources here: https://db.tt/W8xJ3fhH
Then you should to create new empty mod for MC 1.7.10 or MC 1.7.2.
Specify dependencies for mod:
Mod(modid = ..., dependencies="required-after:SmartCursor")
Create new empty class that implements one of:
- IEntityProcessor
- IBlockProcessor
- IDropProcessor
- IPlayerProcessor
Implement all necessary methods. Example:
package example.mod;
import java.util.List;
import net.minecraft.entity.Entity;
import com.asaskevich.smartcursor.api.IEntityProcessor;
public class ExampleModule implements IEntityProcessor {
@Override
public String getModuleName() {
return "Example mod";
}
@Override
public String getAuthor() {
return "user";
}
@Override
public void process(List list, Entity entity) {
list.add("Some text");
}
}
Connect your module to SmartCursor core:
import com.asaskevich.smartcursor.api.ModuleConnector;
...
ModuleConnector.connectModule(new ExampleModule());
Build and test your mod!