索引
所有程序包|所有类和接口
A
- apply(Project) - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangPlugin
C
- CAMEL - 枚举类 中的枚举常量 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
lowerCamelCase, e.g.
- className(String) - 枚举类中的方法 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
Nested class names always follow Java type conventions (PascalCase), independent of the constant style.
- CloudLangExtension - dev.vfyjxf.cloudlib.gradle.lang中的类
-
Configuration for the distributed language system.
- CloudLangExtension() - 类的构造器 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
- CloudLangPlugin - dev.vfyjxf.cloudlib.gradle.lang中的类
-
Implements the distributed language system:
generateLangKeys- reads the yaml files of the default locale and generates the "R-like" key class (configurable name and package) withLangEntryconstants grouped into nested classes mirroring the key structure.generateLangResources- merges the distributed yaml files of every locale and packs them into vanillaassets/<modId>/lang/<locale>.jsonfiles, wired intoprocessResourcesso they end up in the jar (mirroring how the NeoForge MDK generatesneoforge.mods.tomlat build time). - CloudLangPlugin() - 类的构造器 dev.vfyjxf.cloudlib.gradle.lang.CloudLangPlugin
D
- dev.vfyjxf.cloudlib.gradle.lang - 程序包 dev.vfyjxf.cloudlib.gradle.lang
F
- fieldName(String) - 枚举类中的方法 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
G
- generate() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- generate() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
- GenerateLangKeysTask - dev.vfyjxf.cloudlib.gradle.lang中的类
-
Generates the "R-like" key class from the yaml files of the default locale.
- GenerateLangKeysTask() - 类的构造器 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- GenerateLangResourcesTask - dev.vfyjxf.cloudlib.gradle.lang中的类
-
Merges the distributed yaml files of every locale and packs them into vanilla
assets/<modId>/lang/<locale>.jsonfiles. - GenerateLangResourcesTask() - 类的构造器 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
- getClassName() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Simple name of the generated key class (the "R-like" class).
- getClassName() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getConstantNameStyle() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Naming style of the generated constants:
camel,pascalorupper_snake. - getConstantNameStyle() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getDefaultLocale() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Locale whose entries drive the generated key class.
- getDefaultLocale() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getEntryClass() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Fully qualified name of the entry type referenced by the generated key class.
- getEntryClass() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getGeneratedAnnotation() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Fully qualified annotation put on the generated class to mark it as generated.
- getGeneratedAnnotation() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getGeneratedSourceDirectory() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Root of the datagen-produced distributed yaml files, merged over the hand-written ones.
- getModId() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
The mod id, used as the translation key prefix and the asset namespace of the packed json files (
assets/<modId>/lang/<locale>.json). - getModId() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getModId() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
- getOutputDirectory() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getOutputDirectory() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
- getPackageName() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Package of the generated key class.
- getPackageName() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getSourceDirectories() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
- getSourceDirectories() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
- getSourceDirectory() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.CloudLangExtension
-
Root of the hand-written distributed yaml files (
<dir>/<locale>/**.yaml). - getSourceDirectoryLabels() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
-
Display labels of
GenerateLangKeysTask.getSourceDirectories(), used in generated comments. - getSourceDirectoryLabels() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangResourcesTask
-
Display labels of
GenerateLangResourcesTask.getSourceDirectories(), used in generated comments.
L
- LangNameStyle - dev.vfyjxf.cloudlib.gradle.lang中的枚举类
-
Naming styles for the constants of the generated key class.
P
- parse(String) - 枚举类中的静态方法 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
Parses a style name leniently; accepted values are
camel,pascalandupper_snake. - PASCAL - 枚举类 中的枚举常量 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
UpperCamelCase / PascalCase, e.g.
S
- sourceRoots() - 类中的方法 dev.vfyjxf.cloudlib.gradle.lang.GenerateLangKeysTask
U
- UPPER_SNAKE - 枚举类 中的枚举常量 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
UPPER_SNAKE_CASE, e.g.
V
- valueOf(String) - 枚举类中的静态方法 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
返回带有指定名称的该类的枚举常量。
- values() - 枚举类中的静态方法 dev.vfyjxf.cloudlib.gradle.lang.LangNameStyle
-
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
所有程序包|所有类和接口