• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

ammaraskar/pyCraft: Minecraft-client networking library in Python

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

ammaraskar/pyCraft

开源软件地址(OpenSource Url):

https://github.com/ammaraskar/pyCraft

开源编程语言(OpenSource Language):

Python 99.9%

开源软件介绍(OpenSource Introduction):

pyCraft

https://app.travis-ci.com/ammaraskar/pyCraft.svg?branch=master https://readthedocs.org/projects/pycraft/badge/?version=latest https://coveralls.io/repos/ammaraskar/pyCraft/badge.svg?branch=master

Minecraft Python Client Library!

This projects aims to be a modern, Python3-compatible, well-documented library for communication with a MineCraft server.

Detailed information for developers can be found here: http://pycraft.readthedocs.org/en/latest/.

start.py is a basic example of a headless client using the library Use start.py --help for the options.

Supported Minecraft versions

pyCraft is compatible with the following Minecraft releases:

  • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9
  • 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
  • 1.10, 1.10.1, 1.10.2
  • 1.11, 1.11.1, 1.11.2
  • 1.12, 1.12.1, 1.12.2
  • 1.13, 1.13.1, 1.13.2
  • 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4
  • 1.15, 1.15.1, 1.15.2
  • 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5
  • 1.17, 1.17.1
  • 1.18, 1.18.1

In addition, some development snapshots and pre-release versions are supported: minecraft/__init__.py contains a full list of supported Minecraft versions and corresponding protocol version numbers.

Supported functionality

Although pyCraft is compatible any supported server, only a subset of all packets are currently decoded or encoded by the library: those necessary to remain connected to the server, those used for chat, and some others.

Developers wishing to use other functionality with pyCraft can contribute by implementing packet classes for the desired packets, adding them under minecraft/networking/packets, and sending a pull request.

Supported Python versions

pyCraft is compatible with (at least) the following Python implementations:

  • Python 3.5
  • Python 3.6
  • Python 3.7
  • Python 3.8
  • Python 3.9
  • PyPy

Requirements

The requirements are also stored in setup.py

See the installation instructions for the cryptography library here: https://cryptography.io/en/latest/installation/ but essentially pip install -r requirements.txt should cover everything.

Contact

This project currently has 2 main developers, Ammar Askar and Jeppe Klitgaard.

GitHub

The preferred method of communication is via this GitHub page.

Mail

We can be contacted by mail:

IRC

We can often be found on the minecraftdev IRC on irc.esper.net

We go by the names of ammar2 and dkkline.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap