Trying to more closely replicate the minecraft logic