-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement metadata changes * Prepare for the deprecation of Launchwrapper by moving more methods into the Loader and cleanup code * Update actions config * Cleanup code and generate source & javadoc jars
- Loading branch information
Showing
26 changed files
with
446 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# loader | ||
|
||
The version independent loader for Book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
src/main/java/org/bookmc/loader/api/compat/CompatiblityLayer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
package org.bookmc.loader.api.compat; | ||
|
||
import net.minecraft.launchwrapper.LaunchClassLoader; | ||
import org.bookmc.loader.api.BookMCLoaderCommon; | ||
import org.bookmc.loader.api.classloader.ClassLoaderURLAppender; | ||
|
||
public interface CompatiblityLayer { | ||
void init(LaunchClassLoader classLoader); | ||
void init(ClassLoaderURLAppender classLoader); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/org/bookmc/loader/api/vessel/author/Author.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.bookmc.loader.api.vessel.author; | ||
|
||
public class Author { | ||
private final String name; | ||
private final String github; | ||
private final String email; | ||
|
||
public Author(String name, String github, String email) { | ||
this.name = name; | ||
this.github = github; | ||
this.email = email; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getGithub() { | ||
return github; | ||
} | ||
|
||
public String getEmail() { | ||
return email; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/org/bookmc/loader/api/vessel/entrypoint/Entrypoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.bookmc.loader.api.vessel.entrypoint; | ||
|
||
public class Entrypoint { | ||
private final String owner; | ||
private final String method; | ||
|
||
public Entrypoint(String owner, String method) { | ||
this.owner = owner; | ||
this.method = method; | ||
} | ||
|
||
public String getOwner() { | ||
return owner; | ||
} | ||
|
||
public String getMethod() { | ||
return method; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/org/bookmc/loader/api/vessel/entrypoint/MixinEntrypoint.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.bookmc.loader.api.vessel.entrypoint; | ||
|
||
import org.bookmc.loader.api.vessel.environment.Environment; | ||
|
||
public class MixinEntrypoint { | ||
private final String mixinFile; | ||
private final Environment environment; | ||
|
||
public MixinEntrypoint(String mixinFile, Environment environment) { | ||
this.mixinFile = mixinFile; | ||
this.environment = environment; | ||
} | ||
|
||
public String getMixinFile() { | ||
return mixinFile; | ||
} | ||
|
||
public Environment getEnvironment() { | ||
return environment; | ||
} | ||
} |
Oops, something went wrong.