Enum Class AbstractMappedMinecraftProvider.RemapperHookKind
java.lang.Object
java.lang.Enum<AbstractMappedMinecraftProvider.RemapperHookKind>
net.fabricmc.loom.configuration.providers.minecraft.mapped.AbstractMappedMinecraftProvider.RemapperHookKind
- All Implemented Interfaces:
Serializable,Comparable<AbstractMappedMinecraftProvider.RemapperHookKind>,Constable
- Enclosing class:
AbstractMappedMinecraftProvider<M extends MinecraftProvider>
public static enum AbstractMappedMinecraftProvider.RemapperHookKind
extends Enum<AbstractMappedMinecraftProvider.RemapperHookKind>
configureRemapper 覆写在投影视角下的形态.
投影要复现的是「配置期行为」,不是「配置期行为是否正确」:覆写今天哪怕什么也不挂, 任务侧同样不挂就是精确复现,可以放行;覆写挂了什么而任务协议表达不了,才必须拒绝。 「什么也不挂」与「只挂 split visitor」因此都得能被显式声明,否则前者只能被当作未知覆写一并拒掉。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription未覆写,或覆写被证明是空操作:任务侧恒不挂 visitor.覆写只等价于 configureSplitRemapper:任务侧按「非 merged 且含客户端」逐 jar 决定.无法判定的覆写:拒绝投影(默认值,第三方未知覆写照旧走这里). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_OP
未覆写,或覆写被证明是空操作:任务侧恒不挂 visitor. -
SPLIT_CLIENT_VISITOR_ONLY
覆写只等价于 configureSplitRemapper:任务侧按「非 merged 且含客户端」逐 jar 决定. -
UNKNOWN
无法判定的覆写:拒绝投影(默认值,第三方未知覆写照旧走这里).
-
-
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
-