public int getBlockTextureFromSide(int par1)
{
if (par1 == 1)//if on bottom
{
return ModLoader.addOverride("/terrain.png", "whateveryouwanthere.png");;
}
if (par1 == 0)//if on top
{
return ModLoader.addOverride("/terrain.png", "whateveryouwanthere.png");;
}
if (par1 == 2 || par1 == 4)//if on left or right
{
return ModLoader.addOverride("/terrain.png", "whateveryouwanthere.png");;
}
else//if on front or back
{
return ModLoader.addOverride("/terrain.png", "whateveryouwanthere.png");;
}
}
It is the same thing as metadata.
Basically look at ItemMetadata
and use
ModLoader.registerBlock(yourBlockHere, MetadataClassHere.class)
and that's about it
yes you are right then it could be interpreted that way but really it could say it either way
serverSideRequired if a client can join a server without the mod
could be saying if a client, which does not have the mod, can join a server
or if a client can join a server that does not have the mod
so i think technically we're both right
so... what is still required for seasons?
and on a thought, can we make the player sink through the top half of full-snow blocks, and sink through snow half blocks?
what do you mean required?
what exactly is involved with sinking?
0
0
0
1
0
Basically look at ItemMetadata
and use
ModLoader.registerBlock(yourBlockHere, MetadataClassHere.class)
and that's about it
0
0
0
0
0
0
0
yes you are right then it could be interpreted that way but really it could say it either way
could be saying if a client, which does not have the mod, can join a server
or if a client can join a server that does not have the mod
so i think technically we're both right
0
what do you mean required?
what exactly is involved with sinking?
correct, no mlmp
0
take your time
0