Giter Club home page Giter Club logo

hmcl's Introduction

Hello Minecraft! Launcher Build Status

GPL v3, see http://www.gnu.org/licenses/gpl.html

Introduction

HMCL is a Minecraft launcher which supports Mod management, game customizing, auto installing(Forge, LiteLoader and OptiFine), modpack creating, UI customizing and so on.

Contribution

If you want to submit a pull request, there're some requirements:

  • IDE: Netbeans 8.1
  • Compiler: Java 1.8 and libraries only supports Java 1.7(because of retrolambda).
  • Do NOT modify gradle files.

Code

  • package HMCLCore/org.jackhuang.hmcl.util: HMCL development utilities.
  • package HMCL/org.jackhuang.hmcl: HMCL UI core.
  • package HMCLCore/org.jackhuang.hmcl.core: HMCL game launcher core.
  • package HMCLAPI(HMCL)/org.jackhuang.hmcl.api: HMCL API, see API section.
  • Folder HMCLCore/src/main/resources/org/jackhuang/hmcl/lang contains language files.

Pay Attention

  • When you do decide to modify this app, please and you MUST delete HMCL/org.jackhuang.hmcl.util.CrashReporter, or errors your code cause will be sent to my server.
  • package org.jackhuang.hmcl.util.logging: repackaged Apache Log4j, Apache License 2.0.
  • package com.google.gson: Apache License 2.0
  • package org.jackhuang.hmcl.laf.ui: contains some NimbusLAF's code belonging to Sun Microsystems under LGPL.

API

HMCLAPI is based on Event bus. There are all events below.

  • org.jackhuang.hmcl.api.event
  • OutOfDateEvent - you can cancel checking new versions and upgrading by this event.
  • org.jackhuang.hmcl.api.event.config
  • AuthenticatorChangedEvent
  • DownloadTypeChangedEvent
  • ThemeChangedEvent
  • org.jackhuang.hmcl.api.event.launch
  • LaunchEvent
  • LaunchSucceededEvent
  • LaunchingStateChangedEvent
  • ProcessingLaunchOptionsEvent
  • ProcessingLoginResultEvent
  • org.jackhuang.hmcl.api.event.process
  • JVMLaunchFailedEvent
  • JavaProcessExitedAbnormallyEvent
  • JavaProcessStartingEvent
  • JavaProcessStoppedEvent
  • org.jackhuang.hmcl.api.event.version
  • LoadedOneVersionEvent
  • RefreshedVersionsEvent
  • RefreshingVersionsEvent

You can also add tabs to root window or add authenticators through IPlugin.

Remember

  • A valid plugin will have a main class that implements org.jackhuang.hmcl.api.IPlugin. HMCL will search all jar files in plugins folder and load classes that implements IPlugin.
  • If you want to debug, use option: --plugin=<Your IPlugin Class Name> and add your jar to classpath.
  • You'd better only access org.jackhuang.hmcl.api.*, and other classes may change in different versions.

hmcl's People

Contributors

cat7373 avatar cyilin avatar dxneil avatar evilwk avatar gonglinyuan avatar huanghongxun avatar krasjet avatar lasmgratel avatar tsl0922 avatar

Watchers

 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.