ok so i think i got this correct but i seem to run in to a new problem and i think it's me forgetting something and i can't seem to remember what i forgot.
so the block is still not showing up. and the item does not have a texture no more
the stupidity that am feeling is unbelievable
also i updated the github with the new edited code