-
-
Notifications
You must be signed in to change notification settings - Fork 79
Documentation
Here is a documentation of the Movecraft API
Currently, there is no Maven repository available for Movecraft, meaning that the Movecraft JAR must be manually imported to your project. On Maven, this can be done by setting the scope of the artifact to system and setting systemPath to the path where the jar is located
| Event | Description | Cancellable | | ------------- | ------------- | | CraftEvent | Base event for all craft-related events | No, but some events extending from this are | | CraftCollisionEvent | Called when a craft collides with a solid block | No | | CraftDetectEvent | Called when a craft is detected | Yes | | CraftPilotEvent | Called when a player pilots a craft | No | | CraftPreTranslateEvent | Called prior to a craft's translation algorithm is performed | Yes | | CraftReleaseEvent | Called when a craft is released | No | | CraftRotateEvent | Called when a craft is rotated | Yes | | CraftSinkEvent | Called when a craft sinks | Yes | | CraftTranslateEvent | Called when a craft translates and after algorithm is performed | Yes | | ItemHarvestEvent | Called when a craft harvest blocks defined under 'harvestBlocks' | No | | SignTranslateEvent | Called when a sign on a moving craft is translated | No |