在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):kbsriram/mcpiapi开源软件地址(OpenSource Url):https://github.com/kbsriram/mcpiapi开源编程语言(OpenSource Language):Python 68.8%开源软件介绍(OpenSource Introduction):#Minecraft Pi API mod This is a Minecraft Forge mod that reimplements (a subset of) the Minecraft Pi edition API. The Minecraft Pi Edition also contains a simple to use API. My plugin recreates this simple API in your desktop Minecraft, so you can now program your Desktop edition Minecraft easily using the Pi API. ##Screenshots Outside the skyscraper and shuttle, built using Martin O'Hanlon's massive 3d structures project. Running the sokoban demo from the standard API library I've added an in-game command ##Installing This plugin works with the 1.7.10 version of Minecraft. If you haven't installed Minecraft Forge, take a look at the installation instructions for Forge. Once you've successfully installed Minecraft Forge, download
the jar file to
your If you've already programmed the Pi edition with one of the client libraries - the plugin starts up on the same port (4711) so your code should work unchanged. If you're new to programming the Pi API - Martin O'Hanlon has a nice introductory series of articles that should get you started. I've included the python version of the Pi Edition client library and a few demos under the To get the standard Pi Edition client library - download the free Minecraft Pi
Edition
and you should find java and python clients, as well as a few demos
under its Not all the commands from the standard client are implemented, and I've probably botched up the right way to do many things -- this was my first foray into writing a forge plugin. But I hope you find it useful and fun nevertheless. Functionally, this mod is similar to the RaspberryJuice plugin. However, RasperryJuice runs on a Bukkit server, whereas this mod runs under any client running Minecraft Forge. ##Enhancements The forge mod tries to be compatible with the extended commands supported by the RaspberryJuice plugin. I've also added an in-game command The From within the game, you simply call the name of your script (without
the This is best suited for running short commands rather than something that runs in an infinite loop; but of course I hope you experiment and find interesting things. I've bundled the python mcpi library which has a
small demo client that clears a cuboid of
blocks. You should also be able to copy the
I've added some experimental commands:
Reading an autofarm schematic via the in-game
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论