From d261269daf2743714e97516e6534a799017ee77f Mon Sep 17 00:00:00 2001 From: arpruss Date: Sat, 20 Jun 2015 22:14:52 -0500 Subject: [PATCH] comments --- python2-scripts/mcpipy/mcpi/minecraft.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python2-scripts/mcpipy/mcpi/minecraft.py b/python2-scripts/mcpipy/mcpi/minecraft.py index 26927d9..9c9e266 100644 --- a/python2-scripts/mcpipy/mcpi/minecraft.py +++ b/python2-scripts/mcpipy/mcpi/minecraft.py @@ -223,7 +223,7 @@ def getBlocks(self, *args): """Get a cuboid of blocks (x0,y0,z0,x1,y1,z1) => [id:int]""" return int(self.conn.sendReceive_flat("world.getBlocks", floorFlatten(args))) - # must have no NBT tags in any Block instances + # must have no NBT tags in Block instance def setBlock(self, *args): """Set block (x,y,z,id,[data])""" self.conn.send_flat("world.setBlock", floorFlatten(args)) @@ -233,6 +233,7 @@ def setBlockWithNBT(self, *args): data = list(flatten(args)) self.conn.send_flat("world.setBlock", list(floorFlatten(data[:5]))+data[5:]) + # must have no NBT tags in Block instance def setBlocks(self, *args): """Set a cuboid of blocks (x0,y0,z0,x1,y1,z1,id,[data])""" self.conn.send_flat("world.setBlocks", floorFlatten(args))