mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
- Finished the RegisterZenClassesTask and applied it to the API & Mod support projects - Started work on the events API - Added a mod.info file - Added mods detection API
27 lines
743 B
Java
27 lines
743 B
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package minetweaker.api.mods;
|
|
|
|
import stanhebben.zenscript.annotations.IterableSimple;
|
|
import stanhebben.zenscript.annotations.OperatorType;
|
|
import stanhebben.zenscript.annotations.ZenClass;
|
|
import stanhebben.zenscript.annotations.ZenOperator;
|
|
|
|
/**
|
|
*
|
|
* @author Stan
|
|
*/
|
|
@ZenClass("minetweaker.mods.ILoadedMods")
|
|
@IterableSimple("minetweaker.mods.IMod")
|
|
public interface ILoadedMods extends Iterable<IMod> {
|
|
@ZenOperator(OperatorType.CONTAINS)
|
|
public boolean contains(String name);
|
|
|
|
@ZenOperator(OperatorType.INDEXGET)
|
|
public IMod get(String name);
|
|
}
|