![]() An example can be found in MrCrayfish's Vehicle Mod This allows you to remove or add your own actions. AvailableActionsEvent - This event allows you to control the button actions that are rendered to the screen.This event can be cancelled and is useful for overriding default behavior. ![]() ControllerEvent.ButtonInput - This event is fired when a button is either pressed down initially and when it's released.ControllerEvent.Turn - This event is fired when the player turns it's view with a controller.ControllerEvent.Move - This event is fired when the player is moved when using a controller.Once completed, you can start implementing controller support to your mod. You will then need to run gradlew setupDecompWorkspace again as Controllable uses an access transformer. If you are a developer and want to add Controllable support to your own mod, you can simply do so by adding this to your adle file.Ĭompile 'controllable:Controllable:1.12.1:0.2.1 ' This is simply because I do not have access to different types of controllers. Once the controller mapping system is added, I will be accepting pull requests on GitHub for controller mappings. Note: Support for other controllers will be a community effort. A simple API with events for integration into third party mods.Many options in config to change to your liking. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |