├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.rst ├── bin ├── build_docs ├── clean └── generate_travis_yml.py ├── docs ├── Makefile ├── authentication.rst ├── conf.py ├── connecting.rst ├── index.rst └── make.bat ├── minecraft ├── __init__.py ├── authentication.py ├── exceptions.py ├── networking │ ├── __init__.py │ ├── connection.py │ ├── encryption.py │ ├── packets │ │ ├── __init__.py │ │ ├── clientbound │ │ │ ├── __init__.py │ │ │ ├── handshake │ │ │ │ └── __init__.py │ │ │ ├── login │ │ │ │ └── __init__.py │ │ │ ├── play │ │ │ │ ├── __init__.py │ │ │ │ ├── block_change_packet.py │ │ │ │ ├── combat_event_packet.py │ │ │ │ ├── explosion_packet.py │ │ │ │ ├── face_player_packet.py │ │ │ │ ├── join_game_and_respawn_packets.py │ │ │ │ ├── map_packet.py │ │ │ │ ├── player_list_item_packet.py │ │ │ │ ├── player_position_and_look_packet.py │ │ │ │ ├── sound_effect_packet.py │ │ │ │ └── spawn_object_packet.py │ │ │ └── status │ │ │ │ └── __init__.py │ │ ├── keep_alive_packet.py │ │ ├── packet.py │ │ ├── packet_buffer.py │ │ ├── packet_listener.py │ │ ├── plugin_message_packet.py │ │ └── serverbound │ │ │ ├── __init__.py │ │ │ ├── handshake │ │ │ └── __init__.py │ │ │ ├── login │ │ │ └── __init__.py │ │ │ ├── play │ │ │ ├── __init__.py │ │ │ └── client_settings_packet.py │ │ │ └── status │ │ │ └── __init__.py │ └── types │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── enum.py │ │ └── utility.py └── utility.py ├── pylintrc ├── requirements.txt ├── setup.py ├── start.py ├── tests ├── __init__.py ├── encryption │ ├── priv_key.bin │ └── pub_key.bin ├── fake_server.py ├── test_authentication.py ├── test_backward_compatible.py ├── test_connection.py ├── test_encryption.py ├── test_exceptions.py ├── test_packets.py ├── test_packets_with_logic.py ├── test_reactors.py ├── test_serialization.py ├── test_utility_types.py └── test_version.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/README.rst -------------------------------------------------------------------------------- /bin/build_docs: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | cd docs 5 | rm -rf _build* 6 | make html 7 | cd .. 8 | -------------------------------------------------------------------------------- /bin/clean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/bin/clean -------------------------------------------------------------------------------- /bin/generate_travis_yml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/bin/generate_travis_yml.py -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/authentication.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/authentication.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/connecting.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/connecting.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/docs/make.bat -------------------------------------------------------------------------------- /minecraft/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/__init__.py -------------------------------------------------------------------------------- /minecraft/authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/authentication.py -------------------------------------------------------------------------------- /minecraft/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/exceptions.py -------------------------------------------------------------------------------- /minecraft/networking/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Contains the networking code for `pyminecraft`. 3 | """ 4 | -------------------------------------------------------------------------------- /minecraft/networking/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/connection.py -------------------------------------------------------------------------------- /minecraft/networking/encryption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/encryption.py -------------------------------------------------------------------------------- /minecraft/networking/packets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Contains the clientbound packets for `pyminecraft`. 3 | """ 4 | -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/handshake/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/handshake/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/login/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/login/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/block_change_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/block_change_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/combat_event_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/combat_event_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/explosion_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/explosion_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/face_player_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/face_player_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/join_game_and_respawn_packets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/join_game_and_respawn_packets.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/map_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/map_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/player_list_item_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/player_list_item_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/player_position_and_look_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/player_position_and_look_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/sound_effect_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/sound_effect_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/play/spawn_object_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/play/spawn_object_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/clientbound/status/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/clientbound/status/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/keep_alive_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/keep_alive_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/packet_buffer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/packet_buffer.py -------------------------------------------------------------------------------- /minecraft/networking/packets/packet_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/packet_listener.py -------------------------------------------------------------------------------- /minecraft/networking/packets/plugin_message_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/plugin_message_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Contains the serverbound packets for `pyminecraft`. 3 | """ 4 | -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/handshake/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/serverbound/handshake/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/login/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/serverbound/login/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/play/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/serverbound/play/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/play/client_settings_packet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/serverbound/play/client_settings_packet.py -------------------------------------------------------------------------------- /minecraft/networking/packets/serverbound/status/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/packets/serverbound/status/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/types/__init__.py -------------------------------------------------------------------------------- /minecraft/networking/types/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/types/basic.py -------------------------------------------------------------------------------- /minecraft/networking/types/enum.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/types/enum.py -------------------------------------------------------------------------------- /minecraft/networking/types/utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/networking/types/utility.py -------------------------------------------------------------------------------- /minecraft/utility.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/minecraft/utility.py -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/pylintrc -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/setup.py -------------------------------------------------------------------------------- /start.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/start.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/encryption/priv_key.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/encryption/priv_key.bin -------------------------------------------------------------------------------- /tests/encryption/pub_key.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/encryption/pub_key.bin -------------------------------------------------------------------------------- /tests/fake_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/fake_server.py -------------------------------------------------------------------------------- /tests/test_authentication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_authentication.py -------------------------------------------------------------------------------- /tests/test_backward_compatible.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_backward_compatible.py -------------------------------------------------------------------------------- /tests/test_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_connection.py -------------------------------------------------------------------------------- /tests/test_encryption.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_encryption.py -------------------------------------------------------------------------------- /tests/test_exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_exceptions.py -------------------------------------------------------------------------------- /tests/test_packets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_packets.py -------------------------------------------------------------------------------- /tests/test_packets_with_logic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_packets_with_logic.py -------------------------------------------------------------------------------- /tests/test_reactors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_reactors.py -------------------------------------------------------------------------------- /tests/test_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_serialization.py -------------------------------------------------------------------------------- /tests/test_utility_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_utility_types.py -------------------------------------------------------------------------------- /tests/test_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tests/test_version.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ammaraskar/pyCraft/HEAD/tox.ini --------------------------------------------------------------------------------