Package net.fabricmc.loom.spec
Enum Class EnvironmentSpec.PipelineStep
- All Implemented Interfaces:
Serializable,Comparable<EnvironmentSpec.PipelineStep>,Constable
- Enclosing class:
EnvironmentSpec
流水线步骤:平台差异的表达处.
把「Fabric 直接 remap」与「Forge 先补丁、再迁移映射、再 remap」的差异收敛成
一份可序列化的步骤列表,而不是散落在各 provider 的 if (isForgeLike()) 里。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription对 vanilla 应用加载器补丁(Forge / NeoForge).下载 vanilla 制品.合并客户端与服务端 jar(仅需要合并的版本配置).在基础映射之上做平台特有的映射迁移(仅 Forge 系,且依赖上一步的产物).应用项目级处理(AW / AT / 接口注入).重映射到目标命名空间. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentSpec.PipelineStepReturns the enum constant of this class with the specified name.static EnvironmentSpec.PipelineStep[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOWNLOAD_VANILLA
下载 vanilla 制品. -
MERGE_MINECRAFT
合并客户端与服务端 jar(仅需要合并的版本配置). -
APPLY_LOADER_PATCHES
对 vanilla 应用加载器补丁(Forge / NeoForge). -
MIGRATE_MAPPINGS
在基础映射之上做平台特有的映射迁移(仅 Forge 系,且依赖上一步的产物). -
REMAP_MINECRAFT
重映射到目标命名空间. -
PROCESS_PROJECT_JAR
应用项目级处理(AW / AT / 接口注入).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-