Added Beta 1.3 Items
This commit is contained in:
parent
dc0fbfc1f0
commit
4fddca6e98
@ -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
|
||||
{
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 153 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 203 KiB |
@ -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
|
||||
|
Can't render this file because it has a wrong number of fields in line 35.
|
Loading…
x
Reference in New Issue
Block a user