Interface ModProcessorExtension
public interface ModProcessorExtension
An interface to aid with applying mod-specific remapping extensions.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record扩展装配上下文.static final record一个 mod 在「是否 / 如何套用扩展」这件事上被用到的全部事实. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the extension applies to the given mod dependency.net.fabricmc.tinyremapper.TinyRemapper.ExtensioncreateExtension(ModProcessorExtension.Context ctx, Predicate<net.fabricmc.tinyremapper.InputTag> applyPredicate) Create a TinyRemapper extension that uses the predicate to only apply to mods that match appliesTo.voidfinalise(ModProcessorExtension.ModInfo mod, Path path)
-
Field Details
-
EXTENSIONS
-
-
Method Details
-
appliesTo
Return true if the extension applies to the given mod dependency. -
createExtension
net.fabricmc.tinyremapper.TinyRemapper.Extension createExtension(ModProcessorExtension.Context ctx, Predicate<net.fabricmc.tinyremapper.InputTag> applyPredicate) throws IOException Create a TinyRemapper extension that uses the predicate to only apply to mods that match appliesTo.- Throws:
IOException
-
finalise
- Throws:
IOException
-