Migrated code to MC 1.6.4