Skip to content

TheSledgeHammer/GroovyMC

Repository files navigation

GroovyMC Library

A Minecraft Mod Library created using the Apache Groovy programming language.

A mod library that is can used as generic infrastructure to other mods.

The library is useful for any mod developer wishing to utilize features within Apache Groovy without having to start their own mod from scratch.

As of 1.16 onwards all Model API's previously apart of this mod have been seperated into a new Mod called GroovyModels.

Please refer to GroovyModels link below.

GroovyModels Repository: https://github.com/TheSledgeHammer/GroovyModels

Getting Started:

Please initialize the "GroovyLoader" in your main class or common proxy class.

GroovyLoader groovyLoader = new GroovyLoader(modPath, modResourcePath, jvm, url, modID);

The class is required for using GroovyMC's Models & Rendering.

Provides a lot of built in functions and functions that have been auto-completed when used, making life that little bit easier.

For a complete example look at the GroovyMC class.

Build Gradle Environment:

Maven Repository: Add the following to your build.Gradle

repositories {
  maven {
    name = "GroovyMC"
    url = "https://dl.bintray.com/thesledgehammer/development/"
  }
}

dependencies {
	compile "com.thesledgehammer.GroovyMC:GroovyMC_1.16.x:+:universal"
}

/* Note: x equals the Minecraft Versions (e.g. x = 3 for Minecraft 1.16.3) */

Apache License v2.0:

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Notice:

This project also contains source code that is maintained under the LGPL 3.0 and MPL 2.0.

About

A Minecraft Mod Library created using the Apache Groovy programming language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages