项目作者: GlucoseDev

项目描述 :
Glucose is a Minecraft server software and API
高级语言: Java
项目地址: git://github.com/GlucoseDev/Glucose.git
创建时间: 2021-06-05T00:59:08Z
项目社区:https://github.com/GlucoseDev/Glucose

开源协议:MIT License

下载


This is dead. See Gallium for a rewrite of this.

" class="reference-link">logo

CI Status
GitHub contributors
Discord
GitHub license

Implementation of GlucoseLib on Vanilla Minecraft and a bunch more.

Currently under heavy development, if you wish to use this mod for production then it is recommended you do not!

Prerequisites

  • Java 11 (1.16.5 and below)
  • Java 16 (1.17+)

    How to for server admins

  • Download from releases
  • Run it like any other jar file

    Contributing

    Contributing is always open! :D

Glucose uses patches on a decompiled version of the vanilla Minecraft jar. Why? Minecraft code is proprietary, therefore we cannot distribute it.

Modifying Glucose code

If you are modifying code by glucose (in the src/glucose package) then you will not need to use patches. It is recommended that you fork this repository, make your changes, and then create a pull request.

Modifying Minecraft code

As stated above, Minecraft is closed-source, so we cannot put source code in this repository. To contribute, you will need to use patches

Working with patches

What you will need to do is clone this repository, and run ./glucose d, followed by ./glucose p. You should then hava Minecraft sources in your IDE, if you would like to modify a file which hasn’t yet been patched, copy it from the cache.

  • Modify the code how you desire
    Creating your first patch
    You can just run ./glucose rbp to make patches.

    Building

    1. git clone git@github.com:GlucoseDev/Glucose.git
    2. cd Glucose
    3. git submodule update --init --recursive
    4. ./glucose decompile
    5. ./glucose patch
    6. gradle build
    Make sure you have Gradle installed.

You might need to do some tinkering to get it to work sometimes.

Thanks to

  • Loom - Providing scripts and a bunch of base code
  • CanaryMod - A bunch of base code for Lib