Updated for minecraft 1.4.7