test for in mcpi - Raspberry Pi Forums


so if possibly saw last post while ago making 2 function work together, did wondering if in minecraftpi can test block using python. i'm real stuck please soon. :?

are after type of block ?

code: select all

 if (mc.getblock(x, y, z) == block.cobblestone.id):     # 
if need know information, e.g. colour of wool block, take @ getblockwithdata().

joe


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support