sciguy1121 / Community-Mod-1

Community Mod 1
GNU Lesser General Public License v3.0
10 stars 16 forks source link

Block Ore Changes #179

Closed ghost closed 11 years ago

EliSussman commented 11 years ago

What does it do? @LegioXV

sciguy1121 commented 11 years ago

I don't think a lot of these changes are quite necessary.

EliSussman commented 11 years ago

@sciguy1121 Thats what I was thinking :)

Techtad commented 11 years ago

Does this even work? Because as far as I know we cannot use getUnlocalizedName(), but I think we can use getUnlocalizedName2() for blocks tough.

ghost commented 11 years ago

getUnlocalizedName2() no longer works for servers.

Techtad commented 11 years ago

But wouldn't getUnlocalizedName() return it with "tile_" in front of it. Unless you know a way to get it without it.

ghost commented 11 years ago

this.getUnlocalizedName().substring(5);

Techtad commented 11 years ago

@LegioXV Seems like it would work. This is definitely a better way to do that if it works properly.