-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/mod/emt/harkenscythe/compat/groovyscript/HSGroovyScriptPlugin.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package mod.emt.harkenscythe.compat.groovyscript; | ||
|
||
import com.cleanroommc.groovyscript.GroovyScript; | ||
import com.cleanroommc.groovyscript.api.GroovyPlugin; | ||
import com.cleanroommc.groovyscript.compat.mods.GroovyContainer; | ||
import groovyjarjarantlr4.v4.runtime.misc.NotNull; | ||
import mod.emt.harkenscythe.HarkenScythe; | ||
|
||
public class HSGroovyScriptPlugin implements GroovyPlugin | ||
{ | ||
@Override | ||
public @NotNull String getModId() | ||
{ | ||
return HarkenScythe.MOD_ID; | ||
} | ||
|
||
@Override | ||
public @NotNull String getContainerName() | ||
{ | ||
return HarkenScythe.NAME; | ||
} | ||
|
||
@Override | ||
public void onCompatLoaded(GroovyContainer<?> container) | ||
{ | ||
GroovyScript.LOGGER.info(HarkenScythe.NAME + " container loaded"); | ||
} | ||
} |