Package mindustry.mod
Class ContentPatcher
java.lang.Object
mindustry.mod.ContentPatcher
The current implementation is awful. Consider it a proof of concept.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionarc.struct.Seq<ContentPatcher.PatchSet>Currently active patches. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
patches
Currently active patches. Note that apply() should be called after modification.
-
-
Constructor Details
-
ContentPatcher
public ContentPatcher()
-
-
Method Details
-
apply
Applies the specified patches. If patches were already applied, the previous ones are un-applied - they do not stack!- Throws:
Exception
-
unapply
public void unapply()
-