A package to let your IDE know what JsMacros can do
Project description
JsMacrosAC
The sole purpose of this package is to let your IDE know what functions the various JsMacros classes have.
Please note that this package does not add functionality and will crash your scripts if it is not imported correctly.
How to import
Each import should be imported with leading if __name__ == "":
otherwise the script will break.
Import all classes:
if __name__ == "": from JsMacrosAC import *
Import all classes from a specific module:
if __name__ == "": from JsMacrosAC.<moduleName> import *
Import one class:
if __name__ == "": from JsMacrosAC import <ClassName>
Import in an event file
if __name__ == "":
from JsMacrosAC import EventAirChange
event = EventAirChange() #No need of arguments
#Modules
There are some modules in JsMacrosAC that can be imported as well, so you don't have to import all the files.
These Modules are:
- libraries (Contains all libraries and constants like Chat or GlobalVars)
- helpers (Contains all helper classes)
- events (Contains all event classes)
- mixins (Contains all mixin classes)
- rest (Contains all other classes)
#Libraries The Chat, JavaWrapper, Player, Request, Hud, Time, KeyBind, JsMacros, FS, Reflection, Client, World and GlobalVars libraries can be accessed by either importing all classes or importing the library module mentioned above.
#Things to note Since Python does not support function overloading, only one function will be displayed in some IDEs. See the function description or class to learn more about the different ways to use this function.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for JsMacrosAC-1.6.0.4732066-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99864ea63e2bc40991996fb87036ede9e060ca5feee75d3f39e3abd59b47f35c |
|
MD5 | 36cff26405e441952d5aef47aaa7b2ba |
|
BLAKE2b-256 | b6431a388b5eba11a3a037faafd6802203feb0c542c08131d7239ff463e79ee3 |