SlimeVoid / LittleBlocks-FML

LittleBlocks for FML
http://www.slimevoid.net/LittleBlocks
GNU Lesser General Public License v3.0
18 stars 13 forks source link

Added pick block functionality fixes #25 #33

Closed Tarig0 closed 11 years ago

Tarig0 commented 11 years ago

will return the border block ID and damage if no LB is in chunk and if the user is highlighting that block

fixes issue #25

Tarig0 commented 11 years ago

I have got to see this, how can you tell whats in the LB chunk without the world?

Eurymachus commented 11 years ago

The LB chunk is the tile at xyz in the real world. By calling tile.getContent(sX,sY,sZ) you retrieve the id.

Ill show you when I get access to my setup.

Tarig0 commented 11 years ago

getContents only allows for inside the little chunk I got an array out of bounds error. ah I see selectedX trying that now

Eurymachus commented 11 years ago

You're doing it wrong then ;)

Tarig0 commented 11 years ago

did getContents(selectedX,selectedY,selectedZ) does not like it when I click on the celing

and the getmetadata()[xs][ys][zs] and LB.getblockmetadata()[xx][yy][zz] function don't return the same as the littleworld.getblockmetadata

Eurymachus commented 11 years ago

05291bb9fe3375a70533c83e82fa12095bfcdbaf