I'm looking for a way to change the top texture of a glass pane like block that I made. I would like something like.
public static int varA = world.getBlockId(x, y+1, z);
if(varA == (id of my block)){
texture = refStrings.MODID + ":Screen";
}else{
texture = refStrings.MODID + ":ScreenTop";
}