A basic shard that demonstrates optional implementations, and interfaces.

Related tags

Spring Boot debug
Overview

Glass - Example

A basic shard that demonstrates optional implementations, and interfaces.

Basic Information

A lot of stuff will be more complex than other mod loaders, but it should be make easier in the future. Also keep in mind that glass is in design more complex, so there will always be a little more complex.

impl directory(s): Used for optional implementations (in short, sections of code that are only loaded / ran if their dependencies have already been loaded). In this example they are used for applying the shard to multiple versions.

Setup

Instructions should be relatively clear, but don't be afraid to ask because there is very likely to be something missing.

Downloading

Download / Clone the github repository to get the contents locally.

Running

For IntelliJ IDEA Users:

Run

./gradlew genRunConfiguration -Pconfiguration=idea,{client/server},{version}

and a run configuration should be created (you will have to go into run configurations and select it)

For example, to generate a run configuration for a 1.8.9 client:

./gradlew genRunConfiguration -Pconfiguration=idea,client,1.8.9

Everyone Else:

Kiln does not yet support automatically creating run configurations for any other IDEs, so you will have to create one manually.

  • Classpath: {project-name}
  • JVM Arguments: see jvm arguments
  • Main Class: com.github.glassmc.loader.client.GlassClientMain
  • Program Arguments: see program arguments
  • Working Directory: run

JVM Arguments

To get the proper jvm arguments, run

./gradlew getRunConfiguration -Pconfiguration={ide},{client/server},{version}

For example, to get the correct arguments for running a 1.8.9 client

./gradlew getRunConfiguration -Pconfiguration=client,1.8.9

You will see a long string printed into the terminal, copy that and add it to your jvm arguments.

Program Arguments

Most versions will work with supplying

--accessToken 0 --version {version}

(for offline mode)

but some versions (at least 1.7.10) require also adding

--userProperties {}

You might also like...

This is simple project to show how to create a basic API using Java 11 + Maven + Spring Boot + PostgrSQL + Flyway.

This is simple project to show how to create a basic API using Java 11 + Maven + Spring Boot + PostgrSQL + Flyway.

Dec 10, 2022

Magic Bean: A very basic library which will generate POJOs.

Magic Bean: A very basic library which will generate POJOs.

Dec 27, 2022

Basic crud operations with json data, main focus is with tests

Spring Crud operations Basic crud operations with json data, main focus is with tests. For future reference Road Map Basic Crud on controllers (done)

Feb 1, 2022

It contains a simple program to apply basic arithmetic operations in Morse code

Morse-Calculator By Mohamad Farag F. Makkawi This project falls under DSL (Domain Specific Language) . the Input is an equation in which simple arithm

Apr 29, 2022

It is a Basic Comment App for different users.

It is a Basic Comment App for different users.

Zoho-comments It is a Basic Comment App for different users. Technology Used : JAVA Swing, Mysql. Tools Used : Eclipse , WampServer. Mysql Table : sig

Feb 12, 2022

ALL THE BASIC PROGRAM OF DSA with JAVA HERE ....

JAVA-WORKSPACE ALL THE BASIC PROGRAM OF DSA with JAVA HERE .... What is a Data Structure? Data Structure is a way to organized data in such a way that

Sep 30, 2022

The state-of-the-art Dashboard of Apache RoccketMQ provides excellent monitoring capability. Various graphs and statistics of events, performance and system information of clients and application is evidently made available to the user.

RocketMQ Dashboard How To Install With Docker get docker image mvn clean package -Dmaven.test.skip=true docker:build or docker pull apacherocketmq/ro

Dec 30, 2022

A suite of software tools and services created to support activity planning and sequencing needs of missions with modeling, simulation, scheduling and validation capabilities

Aerie A suite of software tools and services created to support activity planning and sequencing needs of missions with modeling, simulation, scheduli

Jan 3, 2023

A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

Flowable (V6) Maven Central: Docker Images: License: Homepage: https://www.flowable.org/ flowable / flowəb(ə)l / a compact and highly efficient workfl

Jan 7, 2023
Owner
A new and innovating minecraft mod loader.
null
This project shows how to configure basic auth to secure our rest API and basic transaction on Data JPA

Basic Atuthentication Spring Boot Data JPA, MySQL This project shows how to configure basic auth to secure our rest API and basic transaction on Data

Hafizullah Samim 1 Feb 10, 2022
This project demonstrates reference implementation of Auth API Client

Client Application to test Auth API for OTP verification. Introduction Aadhaar “authentication” means the process wherein Aadhaar Number or Virtual ID

UIDAI 3 Oct 27, 2021
This project demonstrates usage of Captcha, OTP APIs to access Offline eKYC XML.

Client Application to simulate offline eKYC wrapper API flow Introduction This is a Spring boot application which can be used to download offline eKYC

UIDAI 4 Oct 29, 2021
This project demonstrates reference deployment of OTP API.

Client Application to simulate OTP Request API flow Introduction This is a Spring boot application which can be used to generate OTP on the registered

UIDAI 4 Oct 27, 2021
Version-agnostic and package-agnostic interfaces used in Constellar. Zero strict dependencies, works as a submodule.

bridge Version-agnostic and package-agnostic interfaces used in Constellar. Zero strict dependencies, works as a submodule. Used for cross-compatibili

uranometrical 2 Feb 23, 2022
A list of direct references to classes and interfaces in the Java Language Specification (3d Ed.)

A list of direct references to classes and interfaces in the Java Language Specification (3d Ed.) and a program to compute the indirectly required classes and interfaces

Joshua Bloch 12 Jun 3, 2022
AndroidHiddenApiBypass - Bypass restrictions on non-SDK interfaces

AndroidHiddenApiBypass Bypass restrictions on non-SDK interfaces. Why AndroidHiddenApiBypass? Pure Java: no native code used. Reliable: does not rely

LSPosed 903 Jan 6, 2023
App to demonstrate the passage of adapter items into activity using interfaces

OnClickListenerExample This application shows how to pass adapter items into an activity using interfaces. The sample data set contains two fields rep

Rohan Bari 1 Feb 2, 2022
This repo holds all the basic code and documentation to the ev3 roboter of group 3 from WS21/22

e3base This repo holds all the basic code and documentation to the ev3 roboter of group 3 from WS21/22 Task Every group had to build a roboter using t

Jonas Deipenbrock 1 Feb 12, 2022
Melnica Server is a custom basic Servlet Container application which depends on Socket Programming.

Melnica Server Melnica Server is a custom basic Servlet Container application which depends on Socket Programming. The Description of Project Melnica

Batuhan Düzgün 18 Jun 26, 2022