Code Monkey home page Code Monkey logo

scorge's Introduction

Scorge

A Forge language loader the Scala programming language

Supported Scala version

Current Supported version is 3.2.1

Shaded libraries

Scorge currently includes

  • scala3-library_3
  • scala-library

Scala Version Policy

Scorge will only support the latest major release of Scala starting once Forge is stabilized for a release. It will lock Scala version till its next stable release. Scorge will not support release candidates or milestone versions of Scala.

Scorge library policy

If you want to add a new library for Scorge to support.

  1. It must be made for Scala
  2. You must have a good technical reason as to why it would be better supported in Scorge instead of being shipped with your mod.

If you want to drop a library supported by Scorge

  1. It must be done during a version switch of minecraft to not break backwards compatibility within an MC version
  2. You must have a good technical reason as to why it should be dropped

Usage

(You can find a complete example setup in the example directory.)

To use Scorge in your project, simply add it to your gradle dependencies. Scorge will automatically add the necessary scala libraries to your compile classpath.

dependencies {
    implementation 'net.minecraftforge:Scorge:VERSION'
}

Next, modify your mods.toml to use the scorge loader. Additionally, each declared mod also needs to have an entryClass attribute that points to the mod's scala class.

modLoader="scorge"
loaderVersion="[4,)"

[[mods]]
    entryClass="com.example.mod.ExampleScalaMod"

scorge's People

Contributors

0xilly avatar championash5357 avatar su5ed avatar covers1624 avatar marvin-roesch avatar mikhailtapio avatar mraof avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.