W
WowMuchName
Guest
I'm trying to patch a shader to apply "waves" to other liquids than vanilla water. By digging around in the code I found that the shader is supplied with the numeric block-id and decides according to that whether the block is water or not. So I guess defining other Ids as well will apply the water-shader to those types of blocks too.
Im not really deep into modding for minecraft, but heard that after 1.7+ the way Ids are handled changed.
1. Can I get the Id of a modded block outside the game? Is it a hashCode over the name or something?
2. If I find out the Id of a modded block and put its value in the shader, will the same block have the same id in another mod-pack?
Im not really deep into modding for minecraft, but heard that after 1.7+ the way Ids are handled changed.
1. Can I get the Id of a modded block outside the game? Is it a hashCode over the name or something?
2. If I find out the Id of a modded block and put its value in the shader, will the same block have the same id in another mod-pack?