gml.gml.4.0.7.source-code.script_imports.json5 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gml Show documentation
Show all versions of gml Show documentation
A language provider for Forge mods for Groovy
{
// Package "star" imports
packages: [
// GML stuff
[
"org.groovymc.gml",
"org.groovymc.gml.bus",
"org.groovymc.gml.bus.type"
],
// Lifecycle events
"net.minecraftforge.fml.event.lifecycle",
// EventBus API
"net.minecraftforge.eventbus.api",
// Chat message components
"net.minecraft.network.chat",
// Add some 'common' MC events
[
"net.minecraftforge.event",
// Entity events
[
"net.minecraftforge.event.entity",
"net.minecraftforge.event.entity.item",
"net.minecraftforge.event.entity.living",
"net.minecraftforge.event.entity.player"
],
"net.minecraftforge.event.level",
"net.minecraftforge.event.server"
]
],
// Class imports
classes: [
// GML Stuff
"org.groovymc.gml.bus.EventBusSubscriber as EBS",
// Lifecycle events, aliased for ease of usage
[
"net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent as ClientSetupEvent",
"net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent as CommonSetupEvent",
],
// Groovy stuff
"groovy.transform.CompileStatic" // TODO - maybe package-import groovy.transform.*?
],
// Static method / field imports
statics: []
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy