Utility functions for Minecraft