PY
0.0.3latestsupport pass args to your python codeJul 19, 2020 /py test 10, 50 and your test.py code will look like below: Code (Text): from mcpi_e.minecraft import Minecraft from mcpi_e import block import sys serverAddress = "127.0.0.1" playerName = "any" pythonApiPort = 4711 blockId=block.SANDSTONE.id size=5 if len(sys.argv)-1>0: playerName=sys.argv[1] if len(sys.argv)-1>1: try: size=int(sys.argv[2]) except: print("1nd argument is not a number, will use default size=5") if len(sys.argv)-1>2: try: blockId=int(sys.argv[3]) except: print("2nd argument is not a number, will use default blockId= Sand") mc = Minecraft.create(serverAddress,pythonApiPort,playerName) pos = mc.player.getPos() x = pos.x y = pos.y z = pos.z0.0.2add reload the config, save default configJul 19, 2020 /py reload could reload the config file0.0.1Jul 19, 2020
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta