Class EntityAttribute.DontDestroyOnZChangedAttribute This entity do not despawn when player enter another map layer