generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add entrypoint for other mods to use the API.
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.provismet.vmcmc.api; | ||
|
||
/** | ||
* Entrypoint for compatibility with VMC-MC. | ||
* Mods that wish to add functionality to this mod should implement this interface and list the class as a "vmc-mc" entrypoint in fabric.mod.json. | ||
*/ | ||
public interface VmcApi { | ||
/** | ||
* An initializer only run on the client-side. | ||
* | ||
* Adding blendshapes, VMC related client-ticks, and hooks to blendstores should be handled within this method. | ||
*/ | ||
void onInitializeVMC (); | ||
} |