diff --git a/Classes/IJInventoryItem.m b/Classes/IJInventoryItem.m index a944bf2..4ea7024 100644 --- a/Classes/IJInventoryItem.m +++ b/Classes/IJInventoryItem.m @@ -67,30 +67,38 @@ int index = 0; - if (itemId <= 92) + if (itemId <= 94) { - if (itemId <= 25) + if (itemId <= 17){ index = itemId - 1; // first item is 1 - else if (itemId == 35) - index = itemId - (35 - 25); - else if (itemId >= 37) - index = itemId - (37 - 26); + } + else if (itemId <= 35 ){ + index = itemId + 1; + } + else if (itemId >= 37){ + index = itemId + 6; + } atlasOffset = NSMakePoint(36, 75); } - else if (itemId >= 256 && itemId <= 355) + else if (itemId >= 256 && itemId <= 351) { index = itemId - 256; - atlasOffset = NSMakePoint(445, 23+52); + atlasOffset = NSMakePoint(445, 75); + } + else if (itemId >= 352 && itemId <= 356) + { + index = itemId - 241; + atlasOffset = NSMakePoint(445, 75); } else if (itemId == 2256) { index = 0; - atlasOffset = NSMakePoint(445, pixelsPerRow*12+17); + atlasOffset = NSMakePoint(445+pixelsPerColumn*8, pixelsPerRow*13 + 18); } else if (itemId == 2257) { index = 0; - atlasOffset = NSMakePoint(445+pixelsPerColumn, pixelsPerRow*12+17); + atlasOffset = NSMakePoint(445, pixelsPerRow*14+18); } else { diff --git a/Images/DataValuesV110.png b/Images/DataValuesV110.png index d2965b2..e423fe0 100644 Binary files a/Images/DataValuesV110.png and b/Images/DataValuesV110.png differ diff --git a/Images/DataValuesV110Transparent.png b/Images/DataValuesV110Transparent.png index 1ff1fa8..454000a 100644 Binary files a/Images/DataValuesV110Transparent.png and b/Images/DataValuesV110Transparent.png differ diff --git a/Items.csv b/Items.csv index f4d1df3..a2277ec 100644 --- a/Items.csv +++ b/Items.csv @@ -32,6 +32,10 @@ 42,Iron Block 43,Double Step 44,Step +# 44,Stone Step, 0 +# 44,Sandstone Step, 1 +# 44,Wodden Step, 2 +# 44,Cobblestone Step, 3 45,Brick 46,TNT 47,Bookcase @@ -80,6 +84,8 @@ 90,Portal 91,Jack-O-Lantern 92,Cake Block +93,Redstone Repeater (off) +94,Redstone Repeater (on) 256,Iron Spade 257,Iron Pickaxe 258,Iron Axe @@ -197,5 +203,6 @@ 352,Bone 353,Sugar 354,Cake +355,Bed 2256,Gold Record 2257,Green Record \ No newline at end of file