-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pull aw/at transforming out of being tied to forge/fabric
- Loading branch information
1 parent
266d7fa
commit ddccef4
Showing
33 changed files
with
845 additions
and
511 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
16 changes: 0 additions & 16 deletions
16
src/api/kotlin/xyz/wagyourtail/unimined/api/minecraft/patch/AccessTransformablePatcher.kt
This file was deleted.
Oops, something went wrong.
158 changes: 0 additions & 158 deletions
158
src/api/kotlin/xyz/wagyourtail/unimined/api/minecraft/patch/ForgeLikePatcher.kt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
src/api/kotlin/xyz/wagyourtail/unimined/api/minecraft/patch/MinecraftForgePatcher.kt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
src/api/kotlin/xyz/wagyourtail/unimined/api/minecraft/patch/NeoForgedPatcher.kt
This file was deleted.
Oops, something went wrong.
111 changes: 111 additions & 0 deletions
111
src/api/kotlin/xyz/wagyourtail/unimined/api/minecraft/patch/ataw/AccessConvert.kt
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,111 @@ | ||
package xyz.wagyourtail.unimined.api.minecraft.patch.ataw | ||
|
||
import xyz.wagyourtail.unimined.api.mapping.MappingNamespaceTree | ||
import java.io.File | ||
|
||
/** | ||
* split from forge/fabric patcher in 1.2.0 | ||
* @since 1.2.0 | ||
*/ | ||
interface AccessConvert { | ||
|
||
/** | ||
* convert access widener to access transformer. | ||
*/ | ||
fun aw2at(input: String): File | ||
|
||
/** | ||
* convert access widener to access transformer. | ||
*/ | ||
fun aw2at(input: String, output: String): File | ||
|
||
/** | ||
* convert access widener to access transformer. | ||
*/ | ||
fun aw2at(input: File): File | ||
|
||
/** | ||
* convert access widener to access transformer. | ||
*/ | ||
fun aw2at(input: File, output: File): File | ||
|
||
/** | ||
* convert access widener to legacy access transformer (mc version <= 1.7.10). | ||
*/ | ||
fun aw2atLegacy(input: String): File | ||
|
||
/** | ||
* convert access widener to legacy access transformer (mc version <= 1.7.10). | ||
*/ | ||
fun aw2atLegacy(input: String, output: String): File | ||
|
||
/** | ||
* convert access widener to legacy access transformer (mc version <= 1.7.10). | ||
*/ | ||
fun aw2atLegacy(input: File): File | ||
|
||
/** | ||
* convert access widener to legacy access transformer (mc version <= 1.7.10). | ||
*/ | ||
fun aw2atLegacy(input: File, output: File): File | ||
|
||
/* | ||
* merge access wideners to an output file | ||
*/ | ||
fun mergeAws(inputs: List<File>): File | ||
|
||
/* | ||
* merge access wideners to an output file | ||
*/ | ||
fun mergeAws(namespace: MappingNamespaceTree.Namespace, inputs: List<File>): File | ||
|
||
/* | ||
* merge access wideners to an output file | ||
*/ | ||
fun mergeAws(output: File, inputs: List<File>): File | ||
|
||
/* | ||
* merge access wideners to an output file | ||
*/ | ||
fun mergeAws(output: File, namespace: MappingNamespaceTree.Namespace, inputs: List<File>): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: String, output: String, namespace: MappingNamespaceTree.Namespace): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: String, namespace: MappingNamespaceTree.Namespace): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: String, output: String): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: String): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: File): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: File, namespace: MappingNamespaceTree.Namespace): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: File, output: File): File | ||
|
||
/** | ||
* convert access transformer to access widener. | ||
*/ | ||
fun at2aw(input: File, output: File, namespace: MappingNamespaceTree.Namespace): File | ||
} |
Oops, something went wrong.