Jump to content

Help
Latest News Article

Tile Index Question


7 replies to this topic

#1

    MCKMan

    Iron Miner

  • Members
  • 321 posts
  • Location: Equestria /)
  • Minecraft: MCKMan

Posted 23 February 2012 - 12:00 PM

My question is if someone has a full list of all the minecraft tile indexes because i want to have animated terrain in my texture pack please help me.
Posted ImageThis is the youtube channel please be sure to subscribe for more cool stuff /)
The Royal Wedding was a fiasco, but Pinkie Pie summoned her confetti shaped Patronus and saved the day from the Changeling shaped Dementors.

Register or log in to remove.

#2

  • Location: Behind you with a shotgun
  • Minecraft: Blue_Flame

Posted 23 February 2012 - 12:02 PM

View PostMrMCKMan, on 23 February 2012 - 12:00 PM, said:

My question is if someone has a full list of all the minecraft tile indexes because i want to have animated terrain in my texture pack please help me.

Just go to terrain.png inside your Minecraft.jar

Never assume. It makes an 'ass' of 'u' and 'me'.
Posted Image


#3

    MCKMan

    Iron Miner

  • Members
  • 321 posts
  • Location: Equestria /)
  • Minecraft: MCKMan

Posted 23 February 2012 - 12:04 PM

View PostBlue_Flame, on 23 February 2012 - 12:02 PM, said:

Just go to terrain.png inside your Minecraft.jar
You really think an image can tell me numbers don't you <_<
Posted ImageThis is the youtube channel please be sure to subscribe for more cool stuff /)
The Royal Wedding was a fiasco, but Pinkie Pie summoned her confetti shaped Patronus and saved the day from the Changeling shaped Dementors.

#4

    Aelakyl

    Redstone Miner

  • Members
  • 639 posts

Posted 23 February 2012 - 01:11 PM

Minecraftwiki.
Search "Data Values" with Google.

#5

    txtsd

    Coal Miner

  • Members
  • Curse Premium
  • 131 posts

Posted 23 February 2012 - 01:32 PM

View PostMrMCKMan, on 23 February 2012 - 12:00 PM, said:

My question is if someone has a full list of all the minecraft tile indexes because i want to have animated terrain in my texture pack please help me.
I think they go left to right, 0-255. Count accordingly :P
Posted Image

#6

    MCKMan

    Iron Miner

  • Members
  • 321 posts
  • Location: Equestria /)
  • Minecraft: MCKMan

Posted 24 February 2012 - 11:27 AM

View PostAelakyl, on 23 February 2012 - 01:11 PM, said:

Minecraftwiki.
Search "Data Values" with Google.
I said tile index not data values
Posted ImageThis is the youtube channel please be sure to subscribe for more cool stuff /)
The Royal Wedding was a fiasco, but Pinkie Pie summoned her confetti shaped Patronus and saved the day from the Changeling shaped Dementors.

#7

    Aelakyl

    Redstone Miner

  • Members
  • 639 posts

Posted 24 February 2012 - 11:52 AM

Do you mean somthing like this?

Posted Image

#8

  • Location: Germany

Posted 24 February 2012 - 05:13 PM

As txtsd said: just count the tiles. They are indexed from left to right and then from top to bottom starting at 0. So grass is 0, stone is 1, dirt is 2, cobblestone is 16, bedrock is 17...

Or get the position of the tile in the form of (x|y): grass has (0|0), cobblestone has (0|1) and the diamond block has (8|1).

Then the >> tileIndex = y*16 + x <<
This is useful for tiles with higher indexes, because you don't have to count so much:
red wool has (8|1) so its tile index is 8*16 + 1 = 128 + 1 = 129.
Check out my texture pack !
Posted Image