You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/AccessorGeneratorExtension.kt
+21-5
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,16 @@ abstract class AccessorGeneratorExtension(protected val project: Project, protec
98
98
abstractval accessorType:Property<AccessorType>
99
99
100
100
/**
101
-
* Namespaces that should be used in accessors, empty if all namespaces should be used.
101
+
* Namespaces that should be used in accessors, defaults to all supported namespaces ("mojang", "spigot", "yarn", "quilt", "searge", "intermediary" and "hashed").
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/AccessorGeneratorPlugin.kt
+3-2
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@ class AccessorGeneratorPlugin : Plugin<Project> {
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/tasks/GenerateAccessorsTask.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ abstract class GenerateAccessorsTask : GenerationTask() {
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/tasks/GenerationTask.kt
+12-3
Original file line number
Diff line number
Diff line change
@@ -103,12 +103,20 @@ abstract class GenerationTask : DefaultTask() {
103
103
abstractval accessorType:Property<AccessorType>
104
104
105
105
/**
106
-
* Namespaces that should be used in accessors, empty if all namespaces should be used.
106
+
* Namespaces that should be used in accessors, defaults to all supported namespaces ("mojang", "spigot", "yarn", "quilt", "searge", "intermediary" and "hashed").
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/tasks/ResolveMappingsTask.kt
inheritanceAdditionalNamespaces =setOf("searge") // mojang could be here too for maximal parity, but that's in exchange for a little bit of performance
Copy file name to clipboardexpand all lines: generator/accessor-plugin/src/main/kotlin/me/kcra/takenaka/generator/accessor/plugin/tasks/TraceAccessorsTask.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ abstract class TraceAccessorsTask : GenerationTask() {
0 commit comments